libgit2

tree

Version:
Git tree parsing, loading routines

Objects

Representation of each one of the entries in a tree object

Representation of a tree object

Functions

Lookup a tree object from the repository The generated tree object is owned by the revision repo and shall not be freed by the user.

Create a new in-memory git_tree

Get the id of a tree

Get the number of entries listed in a tree

Lookup a tree entry by its filename

Lookup a tree entry by its position in the tree

Get the UNIX file attributes of a tree entry

Get the filename of a tree entry

Get the id of the object pointed by the entry

Convert a tree entry to the git_object it points too

Add a new entry to a tree and return the new entry

Remove an entry by its index

Remove an entry by its filename

Clear all the entries in a tree

Change the SHA1 id of a tree entry

Change the filename of a tree entry

Change the attributes of a tree entry