Start filling in the file_windows.odin procedures

This commit is contained in:
gingerBill
2022-02-21 13:38:25 +00:00
parent 345032f804
commit 9c3cdc4620
10 changed files with 477 additions and 136 deletions
+3 -3
View File
@@ -8,16 +8,16 @@ _is_path_separator :: proc(c: byte) -> bool {
return c == '\\' || c == '/'
}
_mkdir :: proc(name: string, perm: File_Mode) -> Maybe(Path_Error) {
_mkdir :: proc(name: string, perm: File_Mode) -> Error {
return nil
}
_mkdir_all :: proc(path: string, perm: File_Mode) -> Maybe(Path_Error) {
_mkdir_all :: proc(path: string, perm: File_Mode) -> Error {
// TODO(bill): _mkdir_all for windows
return nil
}
_remove_all :: proc(path: string) -> Maybe(Path_Error) {
_remove_all :: proc(path: string) -> Error {
// TODO(bill): _remove_all for windows
return nil
}