Skip to main content

truncate_diff_tree

Function truncate_diff_tree 

Source
pub fn truncate_diff_tree(node: &mut DiffNode, max_depth: usize)
Expand description

Apply the presentation depth after the complete trees have been compared. A hidden changed path is represented explicitly instead of being mistaken for “no call changes”.