libgit2

git_tree_id

Version:

Get the id of a tree.

Signature

const git_oid *git_tree_id(const git_tree *tree);

Parameters

In
tree

a previously loaded tree.

Returns

object identity for the tree.

Versions