git_commit_tree_id

Get the id of the tree pointed to by a commit. This differs from git_commit_tree in that no attempts are made to fetch an object from the ODB.

extern (C) nothrow @nogc public
git_commit_tree_id

Parameters

commit const(libgit2.types.git_commit)*

a previously loaded commit.

Return Value

Type: const(libgit2.oid.git_oid)*

the id of tree pointed to by commit.

Meta