gix_path

Function is_absolute

Source
pub fn is_absolute(path: impl AsRef<Path>) -> bool
Expand description

return true if path is absolute, which depends on the platform but is always true if it starts with a slash, hence looks like a linux path.