| Declared in | GITRefResolver.h |
|---|
The GITRefResolver class provides methods to return GITRef objects by their name. The class also provides methods to obtain arrays of GITRef objects by tags, heads and remotes.
+ (GITRefResolver *)resolverForRepo:(GITRepo *)theRepo The repository the receiver will resolve with
resolver initialised with the specified repository
Creates and returns an autoreleased Ref Resolver for the given repository.
GITRefResolver.h- (id)initWithRepo:(GITRepo *)theRepo The repository the receiver will resolve with
resolver initialised with the specified repository
Creates and returns a Ref Resolver for the given repository.
GITRefResolver.h- (GITRef *)resolveRefWithName:(NSString *)theName Name of the reference to resolve
Reference resolved from the specified name, or nil if the reference cannot be found or if an error occurred
Returns a reference by resolving the specified name.
Resolves references in the following order:
refs/
refs/tags/
refs/heads/
refs/remotes/
GITRefResolver.h- (GITRef *)resolveRefWithName:(NSString *)theName error:(NSError **)theError Name of the reference to resolve
NSError describing the error that occurred
Reference resolved from the specified name, or nil if the reference cannot be found or if an error occurred
Returns a reference by resolving the specified name.
Resolves references in the following order:
refs/
refs/tags/
refs/heads/
refs/remotes/
GITRefResolver.h- (NSArray *)allRefsarray of all the references in the receivers repository
Returns an array of all the references in the receivers repository.
GITRefResolver.h- (NSArray *)tagRefsarray of all the tag references in the receivers repository
Returns an array of all the tag references in the receivers repository.
GITRefResolver.h- (NSArray *)headRefsarray of all the head references in the receivers repository
Returns an array of all the head references in the receivers repository.
GITRefResolver.h- (NSArray *)remoteRefsarray of all the head references in the receivers repository
Returns an array of all the head references in the receivers repository.
GITRefResolver.hLast updated: 2011-2-20