git_odb_backend_one_pack

Create a backend out of a single packfile

This can be useful for inspecting the contents of a single packfile.

extern (C) nothrow @nogc
int
git_odb_backend_one_pack

Parameters

out_ libgit2_d.types.git_odb_backend**

location to store the odb backend pointer

index_file const(char)*

path to the packfile's .idx file

Return Value

Type: int

0 or an error code

Meta