git_odb_write_pack

Open a stream for writing a pack file to the ODB.

If the ODB layer understands pack files, then the given packfile will likely be streamed directly to disk (and a corresponding index created). If the ODB layer does not understand pack files, the objects will be stored in whatever format the ODB layer uses.

@see git_odb_writepack

Parameters

out_ libgit2_d.types.git_odb_writepack**

pointer to the writepack functions

db libgit2_d.types.git_odb*

object database where the stream will read from

progress_cb libgit2_d.indexer.git_indexer_progress_cb

function to call with progress information. Be aware that this is called inline with network and indexing operations, so performance may be affected.

progress_payload void*

payload for the progress callback

Meta