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

Constructor for in-memory trees

Enums

Tree traversal modes

Valid modes for index and tree entries

Callbacks

Callback for the tree traversal method

Functions

Lookup a tree object from the repository

Lookup a tree object from the repository, given a prefix of its identifier (short id)

Close an open tree

Get the id of a tree

Get the repository that contains the 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

Lookup a tree entry by SHA value

Retrieve a tree entry contained in a tree or in any of its subtrees, given its relative path

Duplicate a tree entry

Free a user-owned tree entry

Get the filename of a tree entry

Get the id of the object pointed by the entry

Get the type of the object pointed by the entry

Get the UNIX file attributes of a tree entry

Compare two tree entries

Convert a tree entry to the git_object it points too

Create a new tree builder

Clear all the entires in the builder

Get the number of entries listed in a treebuilder

Free a tree builder

Get an entry from the builder from its filename

Add or update an entry to the builder

Remove an entry from the builder by its filename

Filter the entries in the tree

Write the contents of the tree builder as a tree object

Traverse the entries in a tree and its subtrees in post or pre order