Support for splitting archive
As minizip is supporting splitting zip archive, I've added a way to create archive with user-defined disk size. A disk size of 0 means we're using old open function. I've also added a size check to avoid creating parts of less than 1 KB (useful ?).
Nice feature.
But we can't change the signatures of createZipFileAtPath::: and open like that: we need to keep a compatibility layer, which I can easily write eventually.
You're completely right, I should have kept previous signatures. I've made a new commit to restore them.
I'll take a look at this after the holidays. Just want to let you know you were not forgotten. Thanks for the PR.
Working on updating the included upstream minizip library to version 2, then I'll visit this one some more.
Nice feature. But we can't change the signatures of
createZipFileAtPath:::andopenlike that: we need to keep a compatibility layer, which I can easily write eventually.
你好,请问为什么不能暴露这个方法呢?是有其他的影响吗?如果要使用split的话,需要如何使用呢?直接在zip.c文件中修改ziinit.disk_size值吗?谢谢!
[edit: Google Translate]
Why can't you expose this method? Is there any other impact? If you want to use split, how do you use it? Modify the ziinit.disk_size value directly in the zip.c file?
Wondering if you have any plan on merging this one...
Thanks for the PR. If you can add some testcases we will merge in v3.0