Skip to main content

git_tree_find

Function git_tree_find 

Source
pub fn git_tree_find(
    git_tree: &mut GitTree,
    pattern: &str,
) -> Result<Array, Box<EvalAltResult>>
Expand description

Wrapper for GitTree::find

Finds repositories matching a pattern and returns them as an array of GitRepo objects. Assumes the underlying GitTree::find Rust method now returns Result<Vec, GitError>.