2008-02-28 06:25:17 +01:00
|
|
|
#ifndef PACK_REVINDEX_H
|
|
|
|
#define PACK_REVINDEX_H
|
|
|
|
|
2015-12-21 07:20:33 +01:00
|
|
|
struct packed_git;
|
|
|
|
|
2008-02-28 06:25:17 +01:00
|
|
|
struct revindex_entry {
|
|
|
|
off_t offset;
|
|
|
|
unsigned int nr;
|
|
|
|
};
|
|
|
|
|
2019-04-05 20:04:24 +02:00
|
|
|
int load_pack_revindex(struct packed_git *p);
|
2015-12-21 07:20:33 +01:00
|
|
|
int find_revindex_position(struct packed_git *p, off_t ofs);
|
2013-10-24 20:00:36 +02:00
|
|
|
|
2008-02-28 06:25:17 +01:00
|
|
|
struct revindex_entry *find_pack_revindex(struct packed_git *p, off_t ofs);
|
|
|
|
|
|
|
|
#endif
|