libgit2

git_odb_backend_pack

Version:

Create a backend for the packfiles.

Signature

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

Parameters

In
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