Added option to keep parent directory when compressing directory contents

This commit is contained in:
Riley Testut
2014-12-21 18:02:19 -06:00
parent 9f93d0c1b7
commit 33c7884202
2 changed files with 10 additions and 0 deletions
+1
View File
@@ -26,6 +26,7 @@
// Zip
+ (BOOL)createZipFileAtPath:(NSString *)path withFilesAtPaths:(NSArray *)filenames;
+ (BOOL)createZipFileAtPath:(NSString *)path withContentsOfDirectory:(NSString *)directoryPath;
+ (BOOL)createZipFileAtPath:(NSString *)path withContentsOfDirectory:(NSString *)directoryPath keepParentDirectory:(BOOL)keepParentDirectory;
- (id)initWithPath:(NSString *)path;
- (BOOL)open;