-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Support filtering a target of extracted files from archive #64
Conversation
- introduce extract() method for SevenZipFIle class. Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
…extraction-filter
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Codecov Report
@@ Coverage Diff @@
## master #64 +/- ##
==========================================
- Coverage 83.54% 83.52% -0.02%
==========================================
Files 8 8
Lines 2169 2209 +40
Branches 356 361 +5
==========================================
+ Hits 1812 1845 +33
- Misses 228 236 +8
+ Partials 129 128 -1
Continue to review full report at Codecov.
|
Need to write test against 1) helper.calculate_key() with flag 0x3f, 2) test with 7z(bzip2), and 3) test with unsupported algorithm(PPMd) become unexpectedly failure. |
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Introduce two methods for SevenZipFile object.
When calling reset(), internal file pointer moves to begining of archive, then worker and decompressor are recreated. You can call extract() again, if you want.
Close: #58