Revision 9d98862bf5d0f0557e1a822491bb792abcd022cf authored by Junio C Hamano on 29 July 2019, 19:38:12 UTC, committed by Junio C Hamano on 29 July 2019, 19:38:12 UTC
Clean-up an error codepath.

* vn/xmmap-gently:
  read-cache.c: do not die if mmap fails
2 parent s 2b31284 + 02638d1
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