| java.lang.Object com.caucho.jcr.myrrh.RevisionFile
RevisionFile | public class RevisionFile (Code) | | Syntax: repeated data chunks of the following format.
4 - length of revision
20 - sha-1 of uncompressed
8 - local commit timestamp
4 - base offset (for delta)
[...] - delta data
4 - crc-32
delta:
00xxxxxx - add [0-63] bytes of data
01xxxxxx b1 b0 - copy [0-63] bytes of data with rel offset to source
10xxxxxx b0 - add upto 8k bytes of data
11xxxxxx b0 b3 b2 b1 b0- copy up to 8k bytes of data with rel offset
|
RevisionFile | public RevisionFile(Path path)(Code) | | |
appendFile | public byte[] appendFile(Path path, long timestamp) throws IOException(Code) | | |
setAllowCompress | public void setAllowCompress(boolean allowCompress)(Code) | | |
|
|