@@ -114,7 +114,7 @@ extern NSString *const GTRepositoryCloneOptionsServerCertificateURL;
114114// / +initWithURL:flags:ceilingDirs:error:.
115115// /
116116// / See respository.h for documentation of each individual flag.
117- typedef NS_OPTIONS (UInt32 , GTRepositoryOpenFlags) {
117+ typedef NS_OPTIONS (NSInteger , GTRepositoryOpenFlags) {
118118 GTRepositoryOpenNoSearch = GIT_REPOSITORY_OPEN_NO_SEARCH,
119119 GTRepositoryOpenCrossFS = GIT_REPOSITORY_OPEN_CROSS_FS,
120120 GTRepositoryOpenBare = GIT_REPOSITORY_OPEN_BARE,
@@ -221,15 +221,14 @@ typedef NS_ENUM(NSInteger, GTRepositoryStateType) {
221221
222222// / Convenience initializer to find and open a repository with extended controls.
223223// /
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.
230229// /
231230// / 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 ;
233232
234233- (instancetype )init NS_UNAVAILABLE;
235234
0 commit comments