factorize revindex code out of builtin-pack-objects.c
[git/git.git] / pack-revindex.h
CommitLineData
3449f8c4
NP
1#ifndef PACK_REVINDEX_H
2#define PACK_REVINDEX_H
3
4struct revindex_entry {
5 off_t offset;
6 unsigned int nr;
7};
8
9void init_pack_revindex(void);
10struct revindex_entry *find_pack_revindex(struct packed_git *p, off_t ofs);
11
12#endif