Method | Description | |
---|---|---|
ComputeBlobSha1 ( long length, Stream input ) : |
Compute the SHA-1 of a blob without creating an object. This is for figuring out if we already have a blob or not.
|
|
ObjectWriter ( |
Construct an object writer for the specified repository.
|
|
WriteBlob ( |
Write a blob with the data in the specified file
|
|
WriteBlob ( byte b ) : |
Write a blob with the specified data.
|
|
WriteBlob ( long len, Stream input ) : |
Write a blob with data from a stream
|
|
WriteCanonicalTree ( byte buffer ) : |
Write a canonical tree to the object database.
|
|
WriteCommit ( |
Write a Commit to the object database
|
|
WriteTag ( |
Write an annotated Tag to the object database
|
|
WriteTree ( |
Method | Description | |
---|---|---|
WriteCommit ( byte b ) : |
||
WriteCommit ( long len, Stream input ) : |
||
WriteObject ( ObjectType type, long len, Stream input, bool store ) : |
||
WriteTag ( byte b ) : |
||
WriteTag ( long len, Stream input ) : |
||
WriteTree ( long len, Stream input ) : |
public ComputeBlobSha1 ( long length, Stream input ) : |
||
length | long | number of bytes to consume. |
input | Stream | stream for read blob data from. |
return |
public ObjectWriter ( |
||
repo | ||
return | System |
public WriteBlob ( |
||
fileInfo | A file containing blob data. | |
return |
public WriteBlob ( byte b ) : |
||
b | byte | Bytes of the blob. |
return |
public WriteBlob ( long len, Stream input ) : |
||
len | long | Number of bytes to consume from the stream. |
input | Stream | Stream with blob data. |
return |
public WriteCanonicalTree ( byte buffer ) : |
||
buffer | byte | The canonical encoding of the tree object. |
return |
public WriteCommit ( |
||
c | Commit to store. | |
return |