Skip to main content

compute_projected_tree_diff

Function compute_projected_tree_diff 

Source
pub fn compute_projected_tree_diff(
    repo: &Repository,
    from_tree: &Tree,
    to_tree: &Tree,
    from_label: impl Into<String>,
    to_label: impl Into<String>,
    unified: usize,
) -> Result<DiffReport>
Expand description

Diff two already-authorized, visible-only tree projections. The caller owns the visibility decision; this function retains the normal line, type-change, and rename pipeline without reopening hidden source trees.