Skip to content

Commit 7a38783

Browse files
committed
Merge pull request #540 from onecrayon/master
Added missing nullable keyword to [GTIndex entryWithPath:path] convenience method
2 parents 37b35c2 + 1a86570 commit 7a38783

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ObjectiveGit/GTIndex.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ NS_ASSUME_NONNULL_BEGIN
107107
/// Returns a new GTIndexEntry, or nil if an error occurred.
108108
- (nullable GTIndexEntry *)entryAtIndex:(NSUInteger)index;
109109

110-
/// Get the entry with the given path.
111-
- (GTIndexEntry *)entryWithPath:(NSString *)path;
110+
/// Get the entry with the given path, or nil if an error occurred.
111+
- (nullable GTIndexEntry *)entryWithPath:(NSString *)path;
112112

113113
/// Get the entry with the given name.
114114
///

0 commit comments

Comments
 (0)