Staging
v0.5.1
Revision d966095db01190a2196e31195ea6fa0c722aa732 authored by Junio C Hamano on 18 October 2019, 02:31:00 UTC, committed by Junio C Hamano on 18 October 2019, 02:40:50 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 90e0d16
Raw File
pack-revindex.h
#ifndef PACK_REVINDEX_H
#define PACK_REVINDEX_H

struct packed_git;

struct revindex_entry {
	off_t offset;
	unsigned int nr;
};

int 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