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