1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-11-01 13:53:11 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

Remove bsdiff in ios

This commit is contained in:
sunnylqm
2021-04-14 17:29:35 +08:00
parent 8e60956af0
commit df903f4a0e
47 changed files with 16 additions and 11136 deletions

View File

@@ -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