Staging
v0.5.1
Revision 5e196e8ae0fcdbc79dc826dc246548e4929d0821 authored by Alessandro Menti on 28 October 2019, 19:44:05 UTC, committed by Alessandro Menti on 28 October 2019, 19:44:05 UTC
Signed-off-by: Alessandro Menti <alessandro.menti@alessandromenti.it>
1 parent 045a548
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