Skip to main content

ContainsPathSegments

Function ContainsPathSegments 

Source
fn ContainsPathSegments(path: &Path, segments: &[&str]) -> bool
Expand description

True when every element of segments appears in order as consecutive path components of path. Used to match Sky / Dependency extension roots regardless of which relative-path prefix the scanner used.