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 zip listing support #22

Closed
wants to merge 7 commits into from
Closed

Conversation

soxofaan
Copy link
Owner

@soxofaan soxofaan commented Oct 7, 2022

Add zip listing support (#20)

:param zip_path: ZIP file path
:return: size tree
"""
command = ["unzip", "-l", zip_path]
Copy link
Owner Author

Choose a reason for hiding this comment

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

instead of using subprocess unzip -l, read zip file directly with zipfile module

@soxofaan
Copy link
Owner Author

PR #26 is a better solution: just use zipfile module, instead of depending on unzip -l subprocess

@soxofaan soxofaan closed this Dec 17, 2022
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.

None yet

1 participant