summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>2010-02-26 22:53:10 +0000
committerRamsay Jones <ramsay@ramsay1.demon.co.uk>2010-02-28 20:16:30 +0000
commit2cdc4544233b503a5aff7dd1baa4ba8743fef7ab (patch)
treee2b5e2857b75278155944594c2beee36079b6b1d /src/commit.c
parent608d33fa676aab1ed350312cc07e02cd7f94847d (diff)
downloadlibgit2-2cdc4544233b503a5aff7dd1baa4ba8743fef7ab.tar.gz
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>
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions