mirror of
https://github.com/git/git.git
synced 2024-11-24 02:17:02 +08:00
a310d43494
This patch adds the basic library functions to create and replay delta information. Also included is a test-delta utility to validate the code. diff-delta was based on LibXDiff written by Davide Libenzi Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Davide Libenzi <davidel@xmailserver.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
7 lines
284 B
C
7 lines
284 B
C
extern void *diff_delta(void *from_buf, unsigned long from_size,
|
|
void *to_buf, unsigned long to_size,
|
|
unsigned long *delta_size);
|
|
extern void *patch_delta(void *src_buf, unsigned long src_size,
|
|
void *delta_buf, unsigned long delta_size,
|
|
unsigned long *dst_size);
|