This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 390
Zip{} does not compress files without SelectiveCompression enabled #418
Comments
hevav
changed the title
Zip{} does not compress files without SelectiveCompression set
Zip{} does not compress files without SelectiveCompression enabled
Aug 21, 2024
What are the files (filenames at least)? Enabling |
*.mca (minecraft chunk files).
This issue is a bug report - all files are not compressed without
should help |
Ah I see! Would you like to submit a pull request and get credited for the commit? |
See #419 |
Thanks for the patch! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of the package or command are you using?
743ede3
What are you trying to do?
I'm trying to make a zip archive with compression.
What steps did you take?
What did you expect to happen, and what actually happened instead?
Expected: the files should be compressed.
Actual: the files are not compressed at all.
How do you think this should be fixed?
We should append the else-clause in zip.go (last 3 lines in the code snippet below):
Workaround
It works as expected when I enable SelectiveCompression:
The text was updated successfully, but these errors were encountered: