@@ -114,7 +114,7 @@ extern NSString *const GTRepositoryCloneOptionsServerCertificateURL;
114
114
// / +initWithURL:flags:ceilingDirs:error:.
115
115
// /
116
116
// / See respository.h for documentation of each individual flag.
117
- typedef NS_OPTIONS (UInt32 , GTRepositoryOpenFlags) {
117
+ typedef NS_OPTIONS (NSInteger , GTRepositoryOpenFlags) {
118
118
GTRepositoryOpenNoSearch = GIT_REPOSITORY_OPEN_NO_SEARCH,
119
119
GTRepositoryOpenCrossFS = GIT_REPOSITORY_OPEN_CROSS_FS,
120
120
GTRepositoryOpenBare = GIT_REPOSITORY_OPEN_BARE,
@@ -221,15 +221,14 @@ typedef NS_ENUM(NSInteger, GTRepositoryStateType) {
221
221
222
222
// / Convenience initializer to find and open a repository with extended controls.
223
223
// /
224
- // / localFileURL - The file URL for the new repository. Cannot be nil.
225
- // / flags - A combination of the `GTRepositoryOpenFlags` flags.
226
- // / ceilingDirs - A GIT_PATH_LIST_SEPARATOR delimited list of path prefixes at
227
- // / which the search for a containing repository should terminate.
228
- // / Can be NULL.
229
- // / error - The error if one occurs.
224
+ // / localFileURL - The file URL for the new repository. Cannot be nil.
225
+ // / flags - A combination of the `GTRepositoryOpenFlags` flags.
226
+ // / ceilingDirURLs - An array of URLs at which the search for a containing
227
+ // / repository should terminate. Can be NULL.
228
+ // / error - The error if one occurs.
230
229
// /
231
230
// / Returns the initialized repository, or nil if an error occurred.
232
- - (nullable instancetype )initWithURL : (NSURL *)localFileURL flags : (UInt32 )flags ceilingDirs : (nullable const char *)ceilingDirs error : (NSError **)error ;
231
+ - (nullable instancetype )initWithURL : (NSURL *)localFileURL flags : (NSInteger )flags ceilingDirs : (nullable NSArray <NSURL *> *)ceilingDirURLs error : (NSError **)error ;
233
232
234
233
- (instancetype )init NS_UNAVAILABLE;
235
234
0 commit comments