Repository navigation
Add error reporting to write{File,Folder}AtPath:...
These functions would return whether they were successful based solely on whether _zipOpenEntry() was successful. However, they did not consider whether zipWriteInFileInZip() or zipCloseFileInZip() could have an error.
Improved these functions so that any errors that are encountered are returned in a new output error.
In addition to being exposed publicly, these functions are called from other places in ZipArchive. But, in an effort to keep the surface area of the API change to a minimum, those cases just pass NULL to outError and don’t receive the benefit of this improved error reporting.