dephell / dephell_archive

Pathlib for archives
MIT License
1 stars 6 forks source link

zip exists and is_dir doesnt support implicit dirs #14

Closed jayvdb closed 4 years ago

jayvdb commented 4 years ago

zip files usually do not contain explicit dir entries unless they have non-default permissions on the directories.

The current implementation requires an explicit dir entry, otherwise .exists() and .is_dir() return False