Function get_changed_paths_between_trees

Source
pub fn get_changed_paths_between_trees(
    repo: &Repo,
    lhs: Option<&Tree<'_>>,
    rhs: Option<&Tree<'_>>,
) -> Result<HashSet<PathBuf>, Error>
Expand description

Get the paths which are different between two tree objects. This is faster than the git2 implementation, which always iterates all tree entries in all tree objects recursively.