under_any_root

Function under_any_root 

Source
fn under_any_root(path: &Path, roots: &[PathBuf]) -> bool
Expand description

Membership predicate — does path live under any root in roots? Empty roots list means “no files qualify for this type”.