pack-revindex: store entries directly in packed_git
[git.git] / pack-revindex.h
blobe262f3efe84962e774c1784129de4c17de3936c8
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 void 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