Function gix::path::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.