tail icon indicating copy to clipboard operation
tail copied to clipboard

Update location after read

Open ameir opened this issue 1 year ago • 0 comments

When tailing without following, Tell() is not available due to the file handle already being closed. Instead, we can keep Location up to date to provide this information.

Use case: I am polling files on an interval, extracting lines between each poll, and need to manually seek based on the final position of the previous poll.

ameir avatar Mar 05 '24 20:03 ameir