Skip to main content

is_absolute_pattern

Function is_absolute_pattern 

Source
pub fn is_absolute_pattern(pattern: &str) -> bool
Expand description

Whether pattern names an absolute location. A leading / counts on every platform: patterns use / separators, so a Unix-style path stays absolute when the same config is read on Windows.