Set the callbacks for a packbuilder
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.
Payload for progress callback.
0 or an error code