git_packbuilder_write

Write the new pack and corresponding index file to path.

extern (C) nothrow @nogc
int
git_packbuilder_write

Parameters

pb libgit2_d.types.git_packbuilder*

The packbuilder

path const(char)*

Path to the directory where the packfile and index should be stored, or NULL for default location

mode uint

permissions to use creating a packfile or 0 for defaults

progress_cb libgit2_d.indexer.git_indexer_progress_cb

function to call with progress information from the indexer (optional)

progress_cb_payload void*

payload for the progress callback (optional)

Return Value

Type: int

0 or an error code

Meta