Merge pull request #121 from rileytestut/master

Added option to keep parent directory when compressing directory contents
This commit is contained in:
Douglas Bumby
2015-04-06 16:53:21 -04:00
2 changed files with 10 additions and 0 deletions
+1
View File
@@ -38,6 +38,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;