https://github.com/git/git
Raw File
Tip revision: 268fbcd172cdb306e8a3e7143cc16677c963d6cd authored by Junio C Hamano on 27 September 2018, 18:48:19 UTC
Git 2.18.1
Tip revision: 268fbcd
pack-revindex.h
#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
back to top