Method | Description | |
---|---|---|
Checkin ( string path ) : void |
Checkin a single object by using its path
|
|
Checkout ( string baseDir, |
Get a commit and from there start the checkout
|
|
Checkout ( string baseDir, |
Get a tree and create the structure from there
|
|
Compress ( byte data ) : byte[] |
Compress a byte array
|
|
Decompress ( byte data ) : byte[] |
Decompress a byte array
|
|
Get ( |
||
Get ( string hexstring ) : Object | ||
LsTree ( string hexstring ) : void | ||
ObjectStore ( string path ) : System | ||
Write ( ) : void |
This method write the queue content to the filesystem
|
Method | Description | |
---|---|---|
AddToQueue ( Object o ) : void | ||
AddZlibSignature ( byte data ) : byte[] |
Problem: in order to compress with Zlib(C Git deflate library) we must add 2 bytes at the begining of this, those represent the type of algorithm used, it just simple extra data that just confused me for a while
|
|
CreateObjectParent ( |
Create a object first parent... e.g. f4/47d5573b70cf042d036bfa62f55cdefccd9909 f4 is the parent we create in this method
|
|
GetObjectFullPath ( |
||
LsTree ( |
||
ObjectExist ( |
||
PersistObject ( |
||
ReadBuffer ( |
||
RemoveZlibSignature ( byte data ) : byte[] | ||
RetrieveContent ( |
||
RetrieveObject ( |
||
WriteBuffer ( |
||
WriteBuffer ( |
public Checkout ( string baseDir, |
||
baseDir | string | |
commit |
/// A |
|
return | void |
public Checkout ( string baseDir, |
||
baseDir | string | |
tree |
/// A |
|
return | void |
public static Compress ( byte data ) : byte[] | ||
data | byte |
/// A data byte array |
return | byte[] |
public static Decompress ( byte data ) : byte[] | ||
data | byte |
/// A data byte array |
return | byte[] |