1#ifndef PACK_REVINDEX_H
2#define PACK_REVINDEX_H
34
struct revindex_entry {
5off_t offset;
6unsigned int nr;
7};
89
struct pack_revindex {
10struct packed_git *p;
11struct revindex_entry *revindex;
12};
1314
struct pack_revindex *revindex_for_pack(struct packed_git *p);
15int find_revindex_position(struct pack_revindex *pridx, off_t ofs);
1617
struct revindex_entry *find_pack_revindex(struct packed_git *p, off_t ofs);
1819
#endif