Merge branch 'js/gitdir-at-unc-root'
[git/git.git] / pack-revindex.h
1 #ifndef PACK_REVINDEX_H
2 #define PACK_REVINDEX_H
3
4 struct packed_git;
5
6 struct revindex_entry {
7 off_t offset;
8 unsigned int nr;
9 };
10
11 int load_pack_revindex(struct packed_git *p);
12 int find_revindex_position(struct packed_git *p, off_t ofs);
13
14 struct revindex_entry *find_pack_revindex(struct packed_git *p, off_t ofs);
15
16 #endif