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

Keep track of offset without position #45

Merged
merged 5 commits into from
Apr 4, 2024
Merged

Keep track of offset without position #45

merged 5 commits into from
Apr 4, 2024

Conversation

nhz2
Copy link
Member

@nhz2 nhz2 commented Apr 3, 2024

This change was inspired by the zip_put function in

https://github.com/madler/zipflow/blob/dd2c33bc91ef2142c96472656cb540ae8c1d8281/zipflow.c#L111-L121

This allows writing zip archives to IO types that don't have a consistent position implementation.

Copy link

codecov bot commented Apr 3, 2024

Codecov Report

Attention: Patch coverage is 94.73684% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 99.61%. Comparing base (68113b8) to head (9397066).

Files Patch % Lines
src/writer.jl 94.59% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #45      +/-   ##
==========================================
- Coverage   99.86%   99.61%   -0.26%     
==========================================
  Files           6        6              
  Lines         751      773      +22     
==========================================
+ Hits          750      770      +20     
- Misses          1        3       +2     

☔ 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 4, 2024 04:36
@nhz2 nhz2 merged commit adea548 into main Apr 4, 2024
11 of 13 checks passed
@nhz2 nhz2 deleted the write-wrapper branch April 7, 2024 15:59
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