added isPasswordValidForArchiveAtPath method

This commit is contained in:
Felix Ritter
2016-11-05 15:14:30 +01:00
parent 76ca4b3293
commit c08241ef19
2 changed files with 70 additions and 0 deletions
+1
View File
@@ -20,6 +20,7 @@ NS_ASSUME_NONNULL_BEGIN
// Password check
+ (BOOL)isFilePasswordProtectedAtPath:(NSString *)path;
+ (BOOL)isPasswordValidForArchiveAtPath:(NSString *)path password:(NSString *)pw error:(NSError * __nullable * __nullable)error NS_SWIFT_NOTHROW;
// Unzip
+ (BOOL)unzipFileAtPath:(NSString *)path toDestination:(NSString *)destination;