public class PatchSnapshot extends Snapshot
| Constructor and Description |
|---|
PatchSnapshot() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
compress(byte[] data) |
static PatchSnapshot |
createSnapshotFromBytes(byte[] data) |
static byte[] |
decompress(byte[] compressed) |
void |
restoreSnapshot(org.eclipse.jgit.api.Git git) |
static PatchSnapshot |
takeSnapshotFromGit(org.eclipse.jgit.api.Git git) |
public static PatchSnapshot takeSnapshotFromGit(org.eclipse.jgit.api.Git git)
public static PatchSnapshot createSnapshotFromBytes(byte[] data)
public void restoreSnapshot(org.eclipse.jgit.api.Git git)
throws java.lang.Exception
restoreSnapshot in class Snapshotjava.lang.Exceptionpublic static byte[] compress(byte[] data)
throws java.io.IOException
java.io.IOExceptionpublic static byte[] decompress(byte[] compressed)
throws java.io.IOException
java.io.IOException