Skip to content

Implement Seek for Entry#404

Open
reidbhuntley wants to merge 5 commits into
composefs:mainfrom
reidbhuntley:seekable-entry
Open

Implement Seek for Entry#404
reidbhuntley wants to merge 5 commits into
composefs:mainfrom
reidbhuntley:seekable-entry

Conversation

@reidbhuntley
Copy link
Copy Markdown

Adds a Seek implementation for Entry<impl Read + Seek>.

Since the inner EntryFields type is concrete, we don't really have a way of restricting its Seek impl at compile time, so I used the same technique as entries_with_seek and do a check at runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant