-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Conditional unzip of files within a zip file? #69
Comments
Please create a PR with the related improvements. Thanks! |
Irrelevant now. Read #163. |
You can use this delegate method: It was added by #131 in ZipArchive 0.3.3 |
Hum, but it's not optimal... it will totally stop unzipping any additional file. We should have a nicer way to filter files, so I'm reopening this issue. |
Hi,
When using SSZipArchive to extract the contents of an archive, we usually only need 1-2 files out of the dozens within the zip file, so extracting them all is pretty wasteful.
I'm planning to add a
zipArchiveShouldUnzipFile:
method to the delegate that will allow it to decide whether an individual file gets unzipped, which will be called before the WillUnzip method. Does this fit with your plans for SSZipArchive, and if so should I submit a pull request to incorporate this functionality into the main branch once I'm done?Thanks for your help.
The text was updated successfully, but these errors were encountered: