git_treebuilder_write

Write the contents of the tree builder as a tree object

The tree builder will be written to the given repo, and its identifying SHA1 hash will be stored in the id pointer.

extern (C) nothrow @nogc
int
git_treebuilder_write

Parameters

id libgit2_d.oid.git_oid*

Pointer to store the OID of the newly written tree

bld libgit2_d.types.git_treebuilder*

Tree builder to write

Return Value

Type: int

0 or an error code

Meta