content
object contents
@property NSData *content
Declared In
GITBlob
.h
Inherits from | |
---|---|
Conforms to | |
Declared in | GITBlob.h |
This class represents Blob objects in a git repository.
Blob objects store the data which makes up the files of a repository, these objects have no name associated with them and are only identified by their content.
content
propertyobject contents
object contents
@property NSData *content
GITBlob
.h
+ (GITBlob *)blobFromData:(NSData *)data sha1:(GITObjectHash *)objectHash repo:(GITRepo *)repo error:(NSError **)error
The data to create the receiver with
The SHA1 hash of the receiver
The repository the receiver is a member of
NSError
describing the error if one occurs
A blob object
Creates and returns a blob from the data.
The blob copies the data as its content and initialises the repo as its parent. The error parameter will contain a description of any errors which occur though at the moment there aren't any cases when an error would be raised when creating a blob object.
GITBlob
.h
Last updated: 2011-2-20