git_packbuilder_set_callbacks

Set the callbacks for a packbuilder

extern (C) nothrow @nogc
int
git_packbuilder_set_callbacks

Parameters

pb libgit2_d.types.git_packbuilder*

The packbuilder object

progress_cb .git_packbuilder_progress

Function to call with progress information during pack building. Be aware that this is called inline with pack building operations, so performance may be affected.

progress_cb_payload void*

Payload for progress callback.

Return Value

Type: int

0 or an error code

Meta