git_commit_tree

Get the tree pointed to by a commit.

extern (C) nothrow @nogc
int
git_commit_tree

Parameters

tree_out libgit2_d.types.git_tree**

pointer where to store the tree object

commit const(libgit2_d.types.git_commit)*

a previously loaded commit.

Return Value

Type: int

0 or an error code

Meta