Skip to content

Add line position to Line #49

Open
@mkmik

Description

@mkmik

Hi,

Nice library!

I'd like to be able to tell when the file is reopened. However having to deal with an event (channel, error code, ...) in case of reopen feels like a kludge. What about simply adding a byte position of the start of each line in the Line structure. There is already the timestamp. This way users can detect when the file was reopened because the position is no longer monotonically increasing.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions