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

Add possibility to add empty directories to archive #30

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

DoroninaD
Copy link

There was no possibility to add empty directories to archive, added it.
If arcname ends with os path separator (e.g. ''), it will be written to archive as a directory.

DaryaDoronina and others added 5 commits July 30, 2018 15:51
If `arcname` ends with os path separator (e.g. '\'), it is written to
archive as a directory
There was a bug in macOS that archive with directories couldn't be
correctly decompressed. It happened because of folders `ZipInfo`
creation and wrong flag_bits for this case
Fixes errors with permissions on macOS and Linux
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.

3 participants