mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-11-01 13:53:11 +08:00
Remove bsdiff in ios
This commit is contained in:
@@ -8,9 +8,7 @@
|
||||
|
||||
#import "RCTPushyManager.h"
|
||||
#import "ZipArchive.h"
|
||||
#import "BSDiff.h"
|
||||
#import "HDiffPatch.h"
|
||||
#import "bspatch.h"
|
||||
|
||||
@implementation RCTPushyManager {
|
||||
dispatch_queue_t _opQueue;
|
||||
@@ -76,19 +74,6 @@
|
||||
});
|
||||
}
|
||||
|
||||
- (void)bsdiffFileAtPath:(NSString *)path
|
||||
fromOrigin:(NSString *)origin
|
||||
toDestination:(NSString *)destination
|
||||
completionHandler:(void (^)(BOOL success))completionHandler
|
||||
{
|
||||
dispatch_async(_opQueue, ^{
|
||||
BOOL success = [BSDiff bsdiffPatch:path origin:origin toDestination:destination];
|
||||
if (completionHandler) {
|
||||
completionHandler(success);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
- (void)hdiffFileAtPath:(NSString *)path
|
||||
fromOrigin:(NSString *)origin
|
||||
toDestination:(NSString *)destination
|
||||
|
||||
Reference in New Issue
Block a user