mirror of
https://github.com/git/git.git
synced 2024-11-06 09:13:01 +01:00
c4584ae3fd
Packed delta files created by git-pack-objects seems to be the way to go, and existing "delta" object handling code has exposed the object representation details to too many places. Remove it while we refactor code to come up with a proper interface in sha1_file.c. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
12 lines
381 B
C
12 lines
381 B
C
#ifndef DELTA_H
|
|
#define DELTA_H
|
|
|
|
/* handling of delta buffers */
|
|
extern void *diff_delta(void *from_buf, unsigned long from_size,
|
|
void *to_buf, unsigned long to_size,
|
|
unsigned long *delta_size, unsigned long max_size);
|
|
extern void *patch_delta(void *src_buf, unsigned long src_size,
|
|
void *delta_buf, unsigned long delta_size,
|
|
unsigned long *dst_size);
|
|
|
|
#endif
|