We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is two bugs when list directory in zip
ZIP:
tianqi@host:tianqi$ unzip -l test.zip Archive: test.zip Length Date Time Name --------- ---------- ----- ---- 0 2019-08-16 15:11 test/ 12 2019-07-24 13:13 test/file 0 2019-08-16 15:11 test/dir/ 0 2019-08-16 15:11 test/dir/nested_dir/ 170 2019-07-24 13:16 test/file.zip 167 2019-01-16 16:53 python.py --------- ------- 349 6 files
Bug 1
>>> import chainerio >>> handler = chainerio.open_as_container('test.zip') >>> list(handler.list('test/')) ['file', 'dir', 'file.zip', 'python.py']
Where python.py is not in test/
python.py
test/
Bug 2
>>> import chainerio >>> handler = chainerio.open_as_container('test.zip') >>> list(handler.list('test')) ['python.py']
The text was updated successfully, but these errors were encountered:
Fix bugs in list of zip
82d782b
This commit fixes the two bugs mentioned in #66
Add tests
57e42a4
Add tests to cover the cases in issue #66
ffbeac9
5af85a1
11b1b1a
belldandyxtq
Successfully merging a pull request may close this issue.
This is two bugs when list directory in zip
ZIP:
Bug 1
Where
python.py
is not intest/
Bug 2
The text was updated successfully, but these errors were encountered: