mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-25 04:47:55 +00:00
* Handle failing to extract password protected disk images even when a decryption password isn't provided. * Propagate error with more information when hdiutil attach fails. * Wait for detaching disk images for unit tests (fixes not being able to run tests repeatably).
24 lines
565 B
Objective-C
24 lines
565 B
Objective-C
//
|
|
// SUUnarchiverProtocol.h
|
|
// Sparkle
|
|
//
|
|
// Created by Mayur Pawashe on 3/26/16.
|
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@protocol SUUnarchiverProtocol <NSObject>
|
|
|
|
+ (BOOL)mustValidateBeforeExtractionWithArchivePath:(NSString *)archivePath;
|
|
|
|
- (void)unarchiveWithCompletionBlock:(void (^)(NSError * _Nullable))completionBlock progressBlock:(void (^ _Nullable)(double))progressBlock waitForCleanup:(BOOL)waitForCleanup;
|
|
|
|
- (NSString *)description;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|