|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.jgit.lib.BinaryDelta
public class BinaryDelta
Recreate a stream from a base stream and a GIT pack delta.
This entire class is heavily cribbed from patch-delta.c in the
GIT project. The original delta patching code was written by Nicolas Pitre
(<nico@cam.org>).
| Constructor Summary | |
|---|---|
BinaryDelta()
|
|
| Method Summary | |
|---|---|
static byte[] |
apply(byte[] base,
byte[] delta)
Apply the changes defined by delta to the data in base, yielding a new array of bytes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BinaryDelta()
| Method Detail |
|---|
public static final byte[] apply(byte[] base,
byte[] delta)
base - some byte representing an object of some kind.delta - a git pack delta defining the transform from one version to
another.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||