#import <GITTreeEntry.h>
Public Member Functions | |
| (id) | - initWithTreeLine:parent: |
| (id) | - initWithMode:name:sha1:parent: |
| (id) | - initWithModeString:name:sha1:parent: |
| (NSData *) | - raw |
Properties | |
| NSString * | name |
| Name of the entry, either a file or directory name. | |
| NSUInteger | mode |
| File mode of the entry. | |
| NSString * | sha1 |
| SHA1 of the object referenced. | |
| GITTree * | parent |
| The tree object this entry belongs to. | |
| GITObject * | object |
| The object which is referenced. This is lazy loaded. | |
| - (id) initWithMode: | (NSUInteger) | mode | ||
| name: | (NSString*) | name | ||
| sha1: | (NSString*) | hash | ||
| parent: | (GITTree*) | parent | ||
Creates and returns a new entry the given settings
| mode | The file mode of the file or directory described | |
| name | The file name of the filr or directory described | |
| hash | The SHA1 of the object referenced | |
| parent | The parent tree this entry belongs to |
| - (id) initWithModeString: | (NSString*) | mode | ||
| name: | (NSString*) | name | ||
| sha1: | (NSString*) | hash | ||
| parent: | (GITTree*) | parent | ||
Creates and returns a new entry the given settings
| mode | The file mode as a string of the file or directory described | |
| name | The file name of the filr or directory described | |
| hash | The SHA1 of the object referenced | |
| parent | The parent tree this entry belongs to |
| - (id) initWithTreeLine: | (NSString*) | line | ||
| parent: | (GITTree*) | parent | ||
Creates and returns a new entry by extracting the information tree line.
| line | The raw line as extracted from a tree object file | |
| parent | The parent tree this entry belongs to |
| - (NSData *) raw |
- (NSUInteger) mode [read, assign] |
File mode of the entry.
- (NSString *) name [read, copy] |
Name of the entry, either a file or directory name.
- (GITObject *) object [read, copy] |
The object which is referenced. This is lazy loaded.
- (GITTree *) parent [read, copy] |
The tree object this entry belongs to.
- (NSString *) sha1 [read, copy] |
SHA1 of the object referenced.
1.5.7