pub fn tree_diff_dirs<G>(
graph: &G,
old_tree: NodeId,
new_tree: NodeId,
limit: Option<usize>,
) -> Result<TreeDiff>Expand description
Compute a tree diff between the old and new trees rooted in the nodes supplied, which are required to be directory nodes.
The limit parameter can optionally limit the number of diff elements to return (to avoid returning very big diffs from git bombs). If this limit is reached, an error is returned.
WARNING: rename detection is currently not supported. The Moved variant is never returned.