git/pack-revindex.h
Nicolas Pitre 3449f8c4cb factorize revindex code out of builtin-pack-objects.c
No functional change. This is needed to fix verify-pack in a later patch.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2008-03-01 01:44:45 -08:00

13 lines
225 B
C

#ifndef PACK_REVINDEX_H
#define PACK_REVINDEX_H
struct revindex_entry {
off_t offset;
unsigned int nr;
};
void init_pack_revindex(void);
struct revindex_entry *find_pack_revindex(struct packed_git *p, off_t ofs);
#endif