1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee
react-native-pushy/ios/RCTPushy/RCTPushyManager.h

28 lines
939 B
C
Raw Normal View History

2016-04-02 14:24:33 +08:00
#import <Foundation/Foundation.h>
2019-11-16 00:31:30 +08:00
@interface RCTPushyManager : NSObject
2016-04-02 14:24:33 +08:00
- (BOOL)createDir:(NSString *)dir;
- (void)unzipFileAtPath:(NSString *)path
toDestination:(NSString *)destination
progressHandler:(void (^)(NSString *entry, long entryNumber, long total))progressHandler
completionHandler:(void (^)(NSString *path, BOOL succeeded, NSError *error))completionHandler;
- (void)hdiffFileAtPath:(NSString *)path
fromOrigin:(NSString *)origin
toDestination:(NSString *)destination
completionHandler:(void (^)(BOOL success))completionHandler;
2016-04-02 14:24:33 +08:00
- (void)copyFiles:(NSDictionary *)filesDic
fromDir:(NSString *)fromDir
toDir:(NSString *)toDir
2016-04-06 13:05:52 +08:00
deletes:(NSDictionary *)deletes
2016-04-02 14:24:33 +08:00
completionHandler:(void (^)(NSError *error))completionHandler;
- (void)removeFile:(NSString *)filePath
completionHandler:(void (^)(NSError *error))completionHandler;
@end