tvl-depot/third_party/git/pack-revindex.h
Vincent Ambo 7ef0d62730 merge(third_party/git): Merge squashed git subtree at v2.23.0
Merge commit '1b593e1ea4d2af0f6444d9a7788d5d99abd6fde5' as 'third_party/git'
2020-01-11 23:40:29 +00:00

16 lines
322 B
C

#ifndef PACK_REVINDEX_H
#define PACK_REVINDEX_H
struct packed_git;
struct revindex_entry {
off_t offset;
unsigned int nr;
};
int load_pack_revindex(struct packed_git *p);
int find_revindex_position(struct packed_git *p, off_t ofs);
struct revindex_entry *find_pack_revindex(struct packed_git *p, off_t ofs);
#endif