aboutsummaryrefslogtreecommitdiff
path: root/pack-revindex.h
blob: e262f3efe84962e774c1784129de4c17de3936c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef PACK_REVINDEX_H
#define PACK_REVINDEX_H

struct packed_git;

struct revindex_entry {
	off_t offset;
	unsigned int nr;
};

void load_pack_revindex(struct packed_git *p);
int find_revindex_position(struct packed_git *p, off_t ofs);

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

#endif