Skip to main content

peer_scope_includes_path

Function peer_scope_includes_path 

Source
pub fn peer_scope_includes_path(
    display_path: &str,
    old_path: Option<&str>,
    primary: &HashSet<&str>,
) -> bool
Expand description

True when a diff entry’s displayed or old path is listed in the primary change set.

Used to limit opposite-side peer loading to paths that can affect duplicate hunk ids.