Add new path API for os2

This commit is contained in:
Feoramund
2025-03-21 19:14:15 -04:00
parent d1d86234aa
commit abe0c30837
4 changed files with 541 additions and 20 deletions
-18
View File
@@ -351,21 +351,3 @@ _volume_name_len :: proc(path: string) -> int {
}
return 0
}
_is_abs :: proc(path: string) -> bool {
if _is_reserved_name(path) {
return true
}
l := _volume_name_len(path)
if l == 0 {
return false
}
path := path
path = path[l:]
if path == "" {
return false
}
return is_path_separator(path[0])
}