Begin mocking os2 for windows out more

This commit is contained in:
gingerBill
2022-05-05 18:01:44 +01:00
parent 18bde22b26
commit 96ab17ecfc
9 changed files with 402 additions and 160 deletions
+3 -3
View File
@@ -7,15 +7,15 @@ is_path_separator :: proc(c: byte) -> bool {
return _is_path_separator(c)
}
mkdir :: proc(name: string, perm: File_Mode) -> Maybe(Path_Error) {
mkdir :: proc(name: string, perm: File_Mode) -> Error {
return _mkdir(name, perm)
}
mkdir_all :: proc(path: string, perm: File_Mode) -> Maybe(Path_Error) {
mkdir_all :: proc(path: string, perm: File_Mode) -> Error {
return _mkdir_all(path, perm)
}
remove_all :: proc(path: string) -> Maybe(Path_Error) {
remove_all :: proc(path: string) -> Error {
return _remove_all(path)
}