Declared in | GITPackIndexWriterObject.h |
---|
GITPackIndexWriterObject
is a class which encapsulates the data required for writing entries into a PACK index file prior to writing the PACK file.
GITPackIndexWriterObject
instancesObject hash of the object to store in the index.
@property GITObjectHash *sha1
GITPackIndexWriterObject
.h
Offset into the PACK file to find the object.
@property NSUInteger offset
GITPackIndexWriterObject
.h
CRC32 of the data of the object.
@property uint32_t crc32
GITPackIndexWriterObject
.h
+ (GITPackIndexWriterObject *)indexWriterObjectWithName:(GITObjectHash *)sha1 atOffset:(NSUInteger)offset
Object hash name of the object
Offset of the object into the PACK file
index writer object
Create an autoreleased index writer object with the specified sha1 and offset.
GITPackIndexWriterObject
.h
- (id)initWithName:(GITObjectHash *)sha1 atOffset:(NSUInteger)offset
Object hash name of the object
Offset of the object into the PACK file
index writer object
Initialises an index writer with the specified sha1 and offset.
GITPackIndexWriterObject
.h
- (BOOL)isEqual:(id)other
The object to be compared to the receiver
YES if the receiver and other are equal, otherwise NO
Returns a Boolean value that indicates whether the receiver and a given object are equal.
GITPackIndexWriterObject
.h
- (BOOL)isEqualToIndexWriterObject:(GITPackIndexWriterObject *)rhs
The index writer with which to compare the receiver
YES if the receiver and rhs are equal, otherwise NO
Returns a Boolean value that indicates whether the receiver and a given index write are equal.
GITPackIndexWriterObject
.h
- (BOOL)isEqualToObjectHash:(GITObjectHash *)rhs
The ObjectHash with which to compare the receiver
YES if the receiver and rhs are equal, otherwise NO
Returns a Boolean value that indicates whether the receiver and a given ObjectHash refer to the same objects.
GITPackIndexWriterObject
.h
- (NSComparisonResult)compare:(GITPackIndexWriterObject *)obj
The index writer object with which to compare the receiver. This value must not be nil. If the value is nil, the behavior is undefined.
NSOrderedAscending if the value of obj is greater than the receiver’s, NSOrderedSame if they’re equal, and NSOrderedDescending if the value of obj is less than the receiver’s.
Returns an NSComparisonResult value that indicates whether the receiver is greater than, equal to, or less than a given index writer object.
GITPackIndexWriterObject
.h
Last updated: 2011-2-20