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

Structs

An action to perform during the update of a tree

Enums

Tree traversal modes

The kind of update to perform

Valid modes for index and tree entries

Callbacks

Callback for git_treebuilder_filter

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

Get the raw UNIX file attributes of a tree entry

Compare two tree entries

Convert a tree entry to the git_object it points to

Create a new tree builder

Clear all the entries 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

Selectively remove 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

Create an in-memory copy of a tree free'd or it will leak.

Create a tree based on another one with the specified modifications