libgit2

git_tree_entrycount

Version:

Get the number of entries listed in a tree

Signature

size_t git_tree_entrycount(git_tree *tree);

Parameters

git_tree *
In
tree

a previously loaded tree.

Returns

size_t

the number of entries in the tree

Versions