- git_packbuilder_foreach
int git_packbuilder_foreach(libgit2_d.types.git_packbuilder* pb, .git_packbuilder_foreach_cb cb, void* payload)
Create the new pack and pass each object to the callback
- git_packbuilder_free
void git_packbuilder_free(libgit2_d.types.git_packbuilder* pb)
Free the packbuilder and all associated data
- git_packbuilder_hash
const(libgit2_d.oid.git_oid)* git_packbuilder_hash(libgit2_d.types.git_packbuilder* pb)
- git_packbuilder_insert
int git_packbuilder_insert(libgit2_d.types.git_packbuilder* pb, const(libgit2_d.oid.git_oid)* id, const(char)* name)
- git_packbuilder_insert_commit
int git_packbuilder_insert_commit(libgit2_d.types.git_packbuilder* pb, const(libgit2_d.oid.git_oid)* id)
- git_packbuilder_insert_recur
int git_packbuilder_insert_recur(libgit2_d.types.git_packbuilder* pb, const(libgit2_d.oid.git_oid)* id, const(char)* name)
Recursively insert an object and its referenced objects
- git_packbuilder_insert_tree
int git_packbuilder_insert_tree(libgit2_d.types.git_packbuilder* pb, const(libgit2_d.oid.git_oid)* id)
Insert a root tree object
- git_packbuilder_insert_walk
int git_packbuilder_insert_walk(libgit2_d.types.git_packbuilder* pb, libgit2_d.types.git_revwalk* walk)
Insert objects as given by the walk
- git_packbuilder_new
int git_packbuilder_new(libgit2_d.types.git_packbuilder** out_, libgit2_d.types.git_repository* repo)
Initialize a new packbuilder
- git_packbuilder_object_count
size_t git_packbuilder_object_count(libgit2_d.types.git_packbuilder* pb)
Get the total number of objects the packbuilder will write out
- git_packbuilder_set_callbacks
int git_packbuilder_set_callbacks(libgit2_d.types.git_packbuilder* pb, .git_packbuilder_progress progress_cb, void* progress_cb_payload)
Set the callbacks for a packbuilder
- git_packbuilder_set_threads
uint git_packbuilder_set_threads(libgit2_d.types.git_packbuilder* pb, uint n)
Set number of threads to spawn
- git_packbuilder_write
int git_packbuilder_write(libgit2_d.types.git_packbuilder* pb, const(char)* path, uint mode, libgit2_d.indexer.git_indexer_progress_cb progress_cb, void* progress_cb_payload)
Write the new pack and corresponding index file to path.
- git_packbuilder_write_buf
int git_packbuilder_write_buf(libgit2_d.buffer.git_buf* buf, libgit2_d.types.git_packbuilder* pb)
Write the contents of the packfile to an in-memory buffer
- git_packbuilder_written
size_t git_packbuilder_written(libgit2_d.types.git_packbuilder* pb)
Get the number of objects the packbuilder has already written out