OSDN Git Service

Merge branch 'rs/path-name-safety-cleanup'
[git-core/git.git] / pack-revindex.h
1 #ifndef PACK_REVINDEX_H
2 #define PACK_REVINDEX_H
3
4 struct packed_git;
5
6 struct revindex_entry {
7         off_t offset;
8         unsigned int nr;
9 };
10
11 void load_pack_revindex(struct packed_git *p);
12 int find_revindex_position(struct packed_git *p, off_t ofs);
13
14 struct revindex_entry *find_pack_revindex(struct packed_git *p, off_t ofs);
15
16 #endif