You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error:(NSError **)error __deprecated_msg("Use -writeData:filePath:fileDate:compressionMethod:password:error: instead, and if using the progress block, replace with NSProgress as described in the README");
594
594
595
595
/**
596
-
* Writes the data to the zip file, overwriting only if specified with the overwrite flag. Overwriting
597
-
* presents a tradeoff: the whole archive needs to be copied (minus the file to be overwritten) before
598
-
* the write begins. For a large archive, this can be slow. On the other hand, when not overwriting,
599
-
* the size of the archive will grow each time the file is written.
600
-
*
601
-
* @param data Data to write into the archive
602
-
* @param filePath The full path to the target file in the archive
603
-
* @param fileDate The timestamp of the file in the archive. Uses the current time if nil
604
-
* @param method The UZKCompressionMethod to use (Default, None, Fastest, Best)
605
-
* @param password Override the password associated with the archive (not recommended)
606
-
* @param overwrite If YES, and the file exists, delete it before writing. If NO, append
607
-
* the data into the archive without removing it first (legacy Objective-Zip
608
-
* behavior)
609
-
* @param error Contains an NSError object when there was an error writing to the archive
610
-
*
611
-
* @return YES if successful, NO on error
596
+
Writes the data to the zip file, overwriting only if specified with the overwrite flag. Overwriting
597
+
presents a tradeoff: the whole archive needs to be copied (minus the file to be overwritten) before
598
+
the write begins. For a large archive, this can be slow. On the other hand, when not overwriting,
599
+
the size of the archive will grow each time the file is written.
600
+
601
+
@param data Data to write into the archive
602
+
@param filePath The full path to the target file in the archive
603
+
@param fileDate The timestamp of the file in the archive. Uses the current time if nil
604
+
@param posixPermissions the source posix permissions of the file in the archive
605
+
@param method The UZKCompressionMethod to use (Default, None, Fastest, Best)
606
+
@param password Override the password associated with the archive (not recommended)
607
+
@param overwrite If YES, and the file exists, delete it before writing. If NO,
608
+
append the data into the archive without removing it first (legacy Objective-Zip behavior)
609
+
@param error Contains an NSError object when there was an error writing to the archive
0 commit comments