Skip to content

Conversation

@althonos
Copy link
Member

@althonos althonos commented Mar 13, 2022

Type of changes

  • Bug fix

Checklist

  • I've run the latest black with default args on new code.
  • I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
  • I've added tests for new code.
  • I accept that @PyFilesystem/maintainers may be pedantic in the code review.

Description

This PR fixes two things with the ReadZipFS class:

  • Use the native mechanism implemented in zipfile for seeking files inside of Zip archives, instead of emulating it by re-opening and reading files.
  • Mark ReadZipFS as case-sensitive, since Zip archives are case-sensitive.

@coveralls
Copy link

coveralls commented Mar 13, 2022

Coverage Status

Coverage increased (+0.01%) to 95.249% when pulling 7159a96 on fix-zipfs into f253d9f on master.

@althonos althonos added this to the v2.4.16 milestone Mar 13, 2022
@althonos althonos added the bug label Mar 13, 2022
@althonos althonos merged commit 8b72697 into master Mar 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants