Sync with maint
[git.git] / pack-revindex.h
blob848331d5d67bc93c9076e791adecbf2fc582d682
1 #ifndef PACK_REVINDEX_H
2 #define PACK_REVINDEX_H
4 struct packed_git;
6 struct revindex_entry {
7 off_t offset;
8 unsigned int nr;
9 };
11 int load_pack_revindex(struct packed_git *p);
12 int find_revindex_position(struct packed_git *p, off_t ofs);
14 struct revindex_entry *find_pack_revindex(struct packed_git *p, off_t ofs);
16 #endif