Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BREAKING: Remove zip_open_filereader #43

Merged
merged 3 commits into from
Apr 1, 2024
Merged

BREAKING: Remove zip_open_filereader #43

merged 3 commits into from
Apr 1, 2024

Conversation

nhz2
Copy link
Member

@nhz2 nhz2 commented Mar 31, 2024

This PR removes the zip_open_filereader function and the ZipFileReader type.
It also renames ZipBufferReader to ZipReader.
ZipBufferReader can still be used as an alias for ZipReader.

I don't use zip_open_filereader because I found using mmap or read and ZipBufferReader way faster and easier.

I also underestimated the maintenance cost of implementing the Julia IO interface. The AbstractVector{UInt8} interface is much easier to use.

This will hopefully be the last breaking change needed.

Copy link

codecov bot commented Mar 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.86%. Comparing base (29e2966) to head (27b14c4).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #43      +/-   ##
==========================================
+ Coverage   98.63%   99.86%   +1.22%     
==========================================
  Files           6        6              
  Lines         881      751     -130     
==========================================
- Hits          869      750     -119     
+ Misses         12        1      -11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nhz2 nhz2 marked this pull request as ready for review April 1, 2024 00:39
@nhz2 nhz2 merged commit 8754cef into main Apr 1, 2024
13 checks passed
@nhz2 nhz2 deleted the remove-ZipFileReader branch April 1, 2024 19:34
nhz2 added a commit to JuliaIO/Zarr.jl that referenced this pull request Apr 1, 2024
I removed some functions from ZipArchives.jl in JuliaIO/ZipArchives.jl#43 that are not needed by Zarr.jl to reduce the complexity. No changes to Zarr.jl should be needed.
nhz2 added a commit to nhz2/PPTX.jl that referenced this pull request Apr 1, 2024
I removed some functions from ZipArchives.jl in JuliaIO/ZipArchives.jl#43 that are not needed by PPTX.jl to reduce the complexity. No changes to PPTX.jl should be needed.
meggart pushed a commit to JuliaIO/Zarr.jl that referenced this pull request Apr 2, 2024
I removed some functions from ZipArchives.jl in JuliaIO/ZipArchives.jl#43 that are not needed by Zarr.jl to reduce the complexity. No changes to Zarr.jl should be needed.
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