diff options
Diffstat (limited to 'packfile.h')
-rw-r--r-- | packfile.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packfile.h b/packfile.h index bfa94c8fee..703887d41b 100644 --- a/packfile.h +++ b/packfile.h @@ -33,6 +33,14 @@ extern unsigned int pack_max_fds; extern size_t peak_pack_mapped; extern size_t pack_mapped; +extern struct packed_git *parse_pack_index(unsigned char *sha1, const char *idx_path); + extern void pack_report(void); +/* + * mmap the index file for the specified packfile (if it is not + * already mmapped). Return 0 on success. + */ +extern int open_pack_index(struct packed_git *); + #endif |