Go to file
Ramsay Jones 2cdc454423 Add a pack index 'virtual function' to fetch an index entry
Given an index entry number, the idx_get() function returns an
(version agnostic) index_entry structure containing all of the
information required to unpack the corresponding object from
the '.pack' file.

Since the v1 and v2 file formats differ in the layout of the
object records, we provide two implementations of the get
function and initialise the function pointer appropriately.

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
2010-02-28 20:16:30 +00:00
src Add a pack index 'virtual function' to fetch an index entry 2010-02-28 20:16:30 +00:00
tests Makefile: Add support for custom build options in config.mak file 2010-02-28 20:10:35 +00:00
.gitignore Makefile: Add support for custom build options in config.mak file 2010-02-28 20:10:35 +00:00
.HEADER Switch the license from BSD to GPL+libgcc exception 2008-11-01 15:55:47 -07:00
api.doxygen Fix "'__thread' not at start of declaration" warnings (-Wextra) 2010-01-20 20:19:06 +00:00
CONVENTIONS Move include files to include/git/, drop git_ prefix from file names 2008-11-01 15:42:23 -07:00
COPYING Switch the license from BSD to GPL+libgcc exception 2008-11-01 15:55:47 -07:00
git.git-authors Add Adam Simpkins to list of consenting authors 2008-12-09 08:36:10 -08:00
libgit2.pc.in Add support for installing to a libdir other than 'lib'. 2009-02-01 15:00:10 -08:00
Makefile Makefile: Add support for custom build options in config.mak file 2010-02-28 20:10:35 +00:00