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
@param out_ pointer to the writepack functions
@param db object database where the stream will read from
@param 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.
@param progress_payload payload for the progress callback
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
@param out_ pointer to the writepack functions @param db object database where the stream will read from @param 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. @param progress_payload payload for the progress callback