Struct git2::Tree [] [src]

pub struct Tree<'repo> {
    // some fields omitted
}

A structure to represent a git tree

Methods

impl<'repo> Tree<'repo>
[src]

Get the id (SHA1) of a repository object

Get the number of entries listed in this tree.

Returns an iterator over the entries in this tree.

Lookup a tree entry by SHA value.

Lookup a tree entry by its position in the tree

Lookup a tree entry by its filename

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

Casts this Tree to be usable as an Object

Trait Implementations

impl<'repo> Drop for Tree<'repo>
[src]

A method called when the value goes out of scope. Read more