Skip to main content

is_wide_change

Function is_wide_change 

Source
pub fn is_wide_change(numstat: &[NumstatEntry]) -> bool
Expand description

Returns true when the change set is too broad for a single scope.

Triggers when the top candidate holds <60% of total churn, or when there are ≥3 distinct non-placeholder roots. Used to decide whether to collapse the scope or keep a broad marker.