libgit2

git_odb_backend_pack

Version:

Create a backend for a directory containing packfiles.

Signature

int git_odb_backend_pack(git_odb_backend **out, const char *objects_dir);

Parameters

Out
out

location to store the odb backend pointer

const char *
In
objects_dir

the Git repository's objects directory

Returns

int

0 or an error code

Versions