https://github.com/git/git
Raw File
Tip revision: 26aa9fc81d4c7f6c3b456a29da0b7ec72e5c6595 authored by Junio C Hamano on 18 November 2018, 09:24:49 UTC
Git 2.20-rc0
Tip revision: 26aa9fc
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