Skip to content

Commit 943701d

Browse files
committed
Delete PBEasyPipe
1 parent 2314def commit 943701d

File tree

5 files changed

+0
-241
lines changed

5 files changed

+0
-241
lines changed

Classes/Util/PBEasyPipe.h

Lines changed: 0 additions & 35 deletions
This file was deleted.

Classes/Util/PBEasyPipe.m

Lines changed: 0 additions & 177 deletions
This file was deleted.

Classes/git/PBGitRepository_PBGitBinarySupport.h

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,4 @@ NS_ASSUME_NONNULL_BEGIN
2020
- (nullable NSString *)outputOfTaskWithArguments:(nullable NSArray *)arguments error:(NSError **)error;
2121
@end
2222

23-
@interface PBGitRepository (PBGitBinarySupportDeprecated)
24-
- (NSFileHandle*) handleForArguments:(NSArray*) args GITX_DEPRECATED;
25-
- (NSString*) outputForCommand:(NSString*) cmd GITX_DEPRECATED;
26-
- (NSString *)outputForCommand:(NSString *)str retValue:(nullable int *)ret GITX_DEPRECATED;
27-
- (NSString *)outputForArguments:(NSArray *)arguments inputString:(nullable NSString *)input retValue:(nullable int *)ret GITX_DEPRECATED;
28-
- (NSString *)outputForArguments:(NSArray *)arguments inputString:(nullable NSString *)input byExtendingEnvironment:(nullable NSDictionary *)dict retValue:(nullable int *)ret GITX_DEPRECATED;
29-
30-
31-
- (NSString*) outputForArguments:(NSArray*) args GITX_DEPRECATED;
32-
- (NSString*) outputForArguments:(NSArray*) args retValue:(nullable int *)ret GITX_DEPRECATED;
33-
- (NSString *)outputInWorkdirForArguments:(NSArray*) arguments GITX_DEPRECATED;
34-
- (NSString *)outputInWorkdirForArguments:(NSArray*) arguments retValue:(nullable int *)ret GITX_DEPRECATED;
35-
@end
36-
3723
NS_ASSUME_NONNULL_END

Classes/git/PBGitRepository_PBGitBinarySupport.m

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
#import "PBGitRepository_PBGitBinarySupport.h"
1010

11-
#import "PBEasyPipe.h"
1211
#import "PBGitBinary.h"
1312
#import "PBTask.h"
1413

@@ -60,14 +59,6 @@ - (NSString *)outputOfTaskWithArguments:(NSArray *)arguments error:(NSError **)e
6059

6160
@implementation PBGitRepository (PBGitBinarySupportDeprecated)
6261

63-
- (NSFileHandle*) handleForArguments:(NSArray *)args
64-
{
65-
NSString* gitDirArg = [@"--git-dir=" stringByAppendingString:self.gitURL.path];
66-
NSMutableArray* arguments = [NSMutableArray arrayWithObject: gitDirArg];
67-
[arguments addObjectsFromArray: args];
68-
return [PBEasyPipe handleForCommand:[PBGitBinary path] withArgs:arguments];
69-
}
70-
7162
- (NSString*) outputForCommand:(NSString *)cmd
7263
{
7364
NSArray* arguments = [cmd componentsSeparatedByString:@" "];

GitX.xcodeproj/project.pbxproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@
109109
4A5D771F14A9A9CC00DF6C68 /* NSOutlineViewExt.m in Sources */ = {isa = PBXBuildFile; fileRef = 4A5D76AA14A9A9CC00DF6C68 /* NSOutlineViewExt.m */; };
110110
4A5D772114A9A9CC00DF6C68 /* NSString_Truncate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4A5D76AE14A9A9CC00DF6C68 /* NSString_Truncate.m */; };
111111
4A5D772214A9A9CC00DF6C68 /* PBEasyFS.m in Sources */ = {isa = PBXBuildFile; fileRef = 4A5D76B014A9A9CC00DF6C68 /* PBEasyFS.m */; };
112-
4A5D772314A9A9CC00DF6C68 /* PBEasyPipe.m in Sources */ = {isa = PBXBuildFile; fileRef = 4A5D76B214A9A9CC00DF6C68 /* PBEasyPipe.m */; };
113112
4A5D772514A9A9CC00DF6C68 /* GLFileView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4A5D76B714A9A9CC00DF6C68 /* GLFileView.m */; };
114113
4A5D772614A9A9CC00DF6C68 /* PBAddRemoteSheet.m in Sources */ = {isa = PBXBuildFile; fileRef = 4A5D76B914A9A9CC00DF6C68 /* PBAddRemoteSheet.m */; };
115114
4A5D772714A9A9CC00DF6C68 /* PBCloneRepositoryPanel.m in Sources */ = {isa = PBXBuildFile; fileRef = 4A5D76BB14A9A9CC00DF6C68 /* PBCloneRepositoryPanel.m */; };
@@ -517,8 +516,6 @@
517516
4A5D76AE14A9A9CC00DF6C68 /* NSString_Truncate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NSString_Truncate.m; sourceTree = "<group>"; };
518517
4A5D76AF14A9A9CC00DF6C68 /* PBEasyFS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PBEasyFS.h; sourceTree = "<group>"; };
519518
4A5D76B014A9A9CC00DF6C68 /* PBEasyFS.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PBEasyFS.m; sourceTree = "<group>"; };
520-
4A5D76B114A9A9CC00DF6C68 /* PBEasyPipe.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PBEasyPipe.h; sourceTree = "<group>"; };
521-
4A5D76B214A9A9CC00DF6C68 /* PBEasyPipe.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PBEasyPipe.m; sourceTree = "<group>"; };
522519
4A5D76B614A9A9CC00DF6C68 /* GLFileView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GLFileView.h; sourceTree = "<group>"; };
523520
4A5D76B714A9A9CC00DF6C68 /* GLFileView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = GLFileView.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
524521
4A5D76B814A9A9CC00DF6C68 /* PBAddRemoteSheet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PBAddRemoteSheet.h; sourceTree = "<group>"; };
@@ -1013,8 +1010,6 @@
10131010
4A5D76AE14A9A9CC00DF6C68 /* NSString_Truncate.m */,
10141011
4A5D76AF14A9A9CC00DF6C68 /* PBEasyFS.h */,
10151012
4A5D76B014A9A9CC00DF6C68 /* PBEasyFS.m */,
1016-
4A5D76B114A9A9CC00DF6C68 /* PBEasyPipe.h */,
1017-
4A5D76B214A9A9CC00DF6C68 /* PBEasyPipe.m */,
10181013
4A5D768114A9A9CC00DF6C68 /* PBError.h */,
10191014
4A5D768214A9A9CC00DF6C68 /* PBError.m */,
10201015
6C4855C61D57DCFC0027A7B4 /* PBTerminalUtil.h */,
@@ -1509,7 +1504,6 @@
15091504
4A5D771F14A9A9CC00DF6C68 /* NSOutlineViewExt.m in Sources */,
15101505
4A5D772114A9A9CC00DF6C68 /* NSString_Truncate.m in Sources */,
15111506
4A5D772214A9A9CC00DF6C68 /* PBEasyFS.m in Sources */,
1512-
4A5D772314A9A9CC00DF6C68 /* PBEasyPipe.m in Sources */,
15131507
4A5D772514A9A9CC00DF6C68 /* GLFileView.m in Sources */,
15141508
4A5D772614A9A9CC00DF6C68 /* PBAddRemoteSheet.m in Sources */,
15151509
4A5D772714A9A9CC00DF6C68 /* PBCloneRepositoryPanel.m in Sources */,

0 commit comments

Comments
 (0)