diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-04-13 09:58:54 +0200 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-04-13 22:16:48 +0200 |
commit | fa679339c433cf7b478f9badd37ec9e093a3f0af (patch) | |
tree | 8538bc4784a6267b05ee8c6401bdcb0a02f5d251 /src/pack.h | |
parent | 45d773efea89a3e00a9f32b587b1496fe68dff92 (diff) | |
download | libgit2-fa679339c433cf7b478f9badd37ec9e093a3f0af.tar.gz |
Add packfile_unpack_compressed() to the internal header
Diffstat (limited to 'src/pack.h')
-rw-r--r-- | src/pack.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pack.h b/src/pack.h index 7cf41c183..cd7a4d2e1 100644 --- a/src/pack.h +++ b/src/pack.h @@ -83,6 +83,13 @@ int git_packfile_unpack_header( git_off_t *curpos); int git_packfile_unpack(git_rawobj *obj, struct git_pack_file *p, git_off_t *obj_offset); +int packfile_unpack_compressed( + git_rawobj *obj, + struct git_pack_file *p, + git_mwindow **w_curs, + git_off_t *curpos, + size_t size, + git_otype type); git_off_t get_delta_base(struct git_pack_file *p, git_mwindow **w_curs, git_off_t *curpos, git_otype type, |