Skip to content

Commit 8049c0c

Browse files
committed
Remove git_remote_supported_url wrapper
See libgit2/libgit2#2644.
1 parent f89275b commit 8049c0c

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

ObjectiveGit/GTRemote.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ typedef enum {
6262
/// `+refs/heads/*:refs/remotes/REMOTE/*`.
6363
@property (nonatomic, readonly, copy) NSArray *pushRefspecs;
6464

65-
/// Tests if a URL is supported (e.g. it's a supported URL scheme)
66-
+ (BOOL)isSupportedURLString:(NSString *)URLString;
67-
6865
/// Tests if a name is valid
6966
+ (BOOL)isValidRemoteName:(NSString *)name;
7067

ObjectiveGit/GTRemote.m

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,6 @@ - (NSUInteger)hash {
9292

9393
#pragma mark API
9494

95-
+ (BOOL)isSupportedURLString:(NSString *)URLString {
96-
NSParameterAssert(URLString != nil);
97-
98-
return git_remote_supported_url(URLString.UTF8String) == GIT_OK;
99-
}
100-
10195
+ (BOOL)isValidRemoteName:(NSString *)name {
10296
NSParameterAssert(name != nil);
10397

0 commit comments

Comments
 (0)