pack-revindex.h 322 Bytes
Newer Older
1 2 3
#ifndef PACK_REVINDEX_H
#define PACK_REVINDEX_H

4 5
struct packed_git;

6 7 8 9 10
struct revindex_entry {
	off_t offset;
	unsigned int nr;
};

11
int load_pack_revindex(struct packed_git *p);
12
int find_revindex_position(struct packed_git *p, off_t ofs);
Vicent Marti's avatar
Vicent Marti committed
13

14 15 16
struct revindex_entry *find_pack_revindex(struct packed_git *p, off_t ofs);

#endif