libgit2

git_tree_entrycount

Version:

Get the number of entries listed in a tree

Signature

unsigned int git_tree_entrycount(git_tree *tree);

Parameters

In
tree

a previously loaded tree.

Returns

unsigned int

the number of entries in the tree

Versions