libgit2

git_tree_clear_entries

Version:

Clear all the entries in a tree.

This will mark the tree as modified; the modified entry will be written back to disk on the next git_object_write().

Signature

void git_tree_clear_entries(git_tree *tree);

Parameters

In
tree

Tree object whose entries are to be sorted

Versions