Skip to content

Conversation

@d4l3k
Copy link
Contributor

@d4l3k d4l3k commented Sep 7, 2021

The current implementation of the local filesystem throws an error when you try to seek on a local file opened in text mode. This is because io.TextIOWrapper checks seekable() before calling seek/tell even though it is supported.

This adds the .seekable() method so seeking can be used in text mode where supported.

This also adds a local and in-memory FS test just for good measure.

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.

2 participants