bearcove / rc-zip

ZIP format implementation in Rust, sans-io
Apache License 2.0
271 stars 25 forks source link

fix: Don't give up on reading local header when given short reads #75

Closed fasterthanlime closed 7 months ago

fasterthanlime commented 7 months ago

Closes #74

codecov[bot] commented 7 months ago

Codecov Report

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

Project coverage is 75.69%. Comparing base (d00ef26) to head (1603637).

Files Patch % Lines
rc-zip/src/fsm/entry/zstd_dec.rs 62.26% 20 Missing :warning:
rc-zip/src/fsm/entry/lzma_dec.rs 65.38% 18 Missing :warning:
rc-zip-tokio/src/entry_reader.rs 69.69% 10 Missing :warning:
rc-zip-sync/src/entry_reader.rs 60.86% 9 Missing :warning:
rc-zip/src/fsm/entry/mod.rs 50.00% 3 Missing :warning:
rc-zip-tokio/src/read_zip.rs 66.66% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #75 +/- ## ========================================== - Coverage 76.37% 75.69% -0.68% ========================================== Files 25 25 Lines 2455 2473 +18 ========================================== - Hits 1875 1872 -3 - Misses 580 601 +21 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.