mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
mkdir/rmdir would not work properly with substring paths on non-windows platforms.
This commit is contained in:
committed by
Christoffer Lerno
parent
13bb2b6690
commit
fad87b294b
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user