mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-30 11:20:08 +00:00
implement #exists(path)
This commit is contained in:
@@ -336,7 +336,16 @@ struct ObjcMsgData {
|
||||
ObjcMsgKind kind;
|
||||
Type *proc_type;
|
||||
};
|
||||
|
||||
enum LoadFileTier {
|
||||
LoadFileTier_Invalid,
|
||||
LoadFileTier_Exists,
|
||||
LoadFileTier_Contents,
|
||||
};
|
||||
|
||||
struct LoadFileCache {
|
||||
LoadFileTier tier;
|
||||
bool exists;
|
||||
String path;
|
||||
gbFileError file_error;
|
||||
String data;
|
||||
|
||||
Reference in New Issue
Block a user