git_packbuilder_insert_tree

Insert a root tree object

This will add the tree as well as all referenced trees and blobs.

extern (C) nothrow @nogc
int
git_packbuilder_insert_tree

Parameters

pb libgit2_d.types.git_packbuilder*

The packbuilder

id const(libgit2_d.oid.git_oid)*

The oid of the root tree

Return Value

Type: int

0 or an error code

Meta