Trait TreeExt

Source
pub trait TreeExt {
    // Required methods
    fn entry_names(&self) -> Vec<String>;
    fn dir_listing(&self) -> GitDirectory<'_>;
}
Expand description

A set of extension methods for the Tree type in git2.

Required Methods§

Source

fn entry_names(&self) -> Vec<String>

Get a list of all the named entries at this level in the tree.

Source

fn dir_listing(&self) -> GitDirectory<'_>

Get a higher level, pre-sorted view of this level in the tree analogous to a traditional filesystem, separated into directories and files.

Implementations on Foreign Types§

Source§

impl<'repo> TreeExt for Tree<'repo>

Implementors§