mkdir/rmdir would not work properly with substring paths on non-windows platforms.

This commit is contained in:
Christoffer Lerno
2025-06-30 21:19:15 +02:00
committed by Christoffer Lerno
parent 13bb2b6690
commit fad87b294b
8 changed files with 77 additions and 66 deletions

View File

@@ -527,7 +527,7 @@ fn String? normalize(String path_str, PathEnv path_env = DEFAULT_ENV)
return path_str[:len];
}
fn ZString Path.as_zstr(self) => (ZString)self.path_string.ptr;
fn ZString Path.as_zstr(self) @deprecated => (ZString)self.path_string.ptr;
fn String Path.root_directory(self)
{