Skip to main content

changes_affecting_paths

Function changes_affecting_paths 

Source
pub fn changes_affecting_paths(
    changes: &[WorktreeChange],
    paths: &[&str],
) -> Vec<WorktreeChange>
Expand description

The subset of changes whose path (or old_path for renames) equals an entry in paths or lies under one ("<entry>/" prefix — directory boundary, never substring).