Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add possibility to add empty directories to archive#30

Open
DoroninaD wants to merge 5 commits intoallanlei:masterallanlei/python-zipstream:masterfrom
Saritasa:masterSaritasa/python-zipstream:masterCopy head branch name to clipboard
Open

Add possibility to add empty directories to archive#30
DoroninaD wants to merge 5 commits intoallanlei:masterallanlei/python-zipstream:masterfrom
Saritasa:masterSaritasa/python-zipstream:masterCopy head branch name to clipboard

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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.