pub fn filter_tree<'r>(
repo: &'r Repository,
tree: &Tree<'r>,
paths: &[&Path],
) -> Result<Oid, Error>
Expand description
Filter the entries in the provided tree by only keeping the provided paths.
If a provided path does not appear in the tree at all, then it’s ignored.