Mock out temp_file.odin stuff
This commit is contained in:
1 parent
361be301fa
commit
91b7cdaad2
10 files changed
+194
-34
No files matched your search
@@ -23,6 +23,8 @@ General_Error :: enum u32 {
|
||||
Invalid_Dir,
|
||||
Invalid_Path,
|
||||
|
||||
Pattern_Has_Separator,
|
||||
|
||||
Unsupported,
|
||||
}
|
||||
|
||||
@@ -63,6 +65,7 @@ error_string :: proc(ferr: Error) -> string {
|
||||
case .Invalid_Dir: return "invalid directory"
|
||||
case .Invalid_Path: return "invalid path"
|
||||
case .Unsupported: return "unsupported"
|
||||
case .Pattern_Has_Separator: return "pattern has separator"
|
||||
}
|
||||
case io.Error:
|
||||
switch e {
|
||||
|
||||
Reference in new issue
Block a user