Function isAbsolute [src]
Prototype
pub fn isAbsolute(path: []const u8) bool
Parameters
path: []const u8
Source
pub fn isAbsolute(path: []const u8) bool {
if (native_os == .windows) {
return isAbsoluteWindows(path);
} else {
return isAbsolutePosix(path);
}
}