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

Multiple refactors #210

Merged
merged 5 commits into from
Jul 20, 2024
Merged

Multiple refactors #210

merged 5 commits into from
Jul 20, 2024

Conversation

a1phyr
Copy link
Contributor

@a1phyr a1phyr commented Jul 11, 2024

Multiples refactors to improve read.rs.

  • Split a Decompressor type (that we could even possibly make public)
  • Remove dynamic state of ZipFile and its crypto_reader field
  • Simplify make_crypto_reader parameters

Each commit can be reviewed separately.

Copy link
Member

@Pr0methean Pr0methean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good except for a few nitpicks.

src/compression.rs Outdated Show resolved Hide resolved
src/read.rs Outdated Show resolved Hide resolved
src/read.rs Outdated Show resolved Hide resolved
@Pr0methean Pr0methean added the Please address review comments Some review comments are still open. label Jul 15, 2024
@a1phyr a1phyr requested a review from Pr0methean July 17, 2024 08:19
@a1phyr a1phyr removed the Please address review comments Some review comments are still open. label Jul 17, 2024
Copy link
Member

@Pr0methean Pr0methean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again for this! Just one more nitpick.

src/read.rs Outdated Show resolved Hide resolved
src/read.rs Outdated Show resolved Hide resolved
src/read.rs Outdated Show resolved Hide resolved
src/read.rs Outdated Show resolved Hide resolved
src/read.rs Outdated Show resolved Hide resolved
src/read.rs Outdated Show resolved Hide resolved
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
@Pr0methean Pr0methean added the waiting to be automatically merged If this PR isn't automatically merged, suspect a broader issue. label Jul 19, 2024
@Pr0methean Pr0methean added this pull request to the merge queue Jul 20, 2024
Merged via the queue into zip-rs:master with commit a60bd79 Jul 20, 2024
38 checks passed
@Pr0methean Pr0methean removed the waiting to be automatically merged If this PR isn't automatically merged, suspect a broader issue. label Jul 20, 2024
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