diff options
| author | Laytan Laats <laytanlaats@hotmail.com> | 2024-06-04 19:06:13 +0200 |
|---|---|---|
| committer | Laytan Laats <laytanlaats@hotmail.com> | 2024-06-04 19:06:13 +0200 |
| commit | b47a15733df5d0cb858a2be0d4eb334df3d50536 (patch) | |
| tree | aa076dfd8690ca0d5ab8647166019ca6d9afdb6e /src/checker.hpp | |
| parent | 4f5b2bd12736b32c0a35496e8ca8f03d305c54b4 (diff) | |
implement `#exists(path)`
Diffstat (limited to 'src/checker.hpp')
| -rw-r--r-- | src/checker.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/checker.hpp b/src/checker.hpp index 539b72b2d..e793540e3 100644 --- a/src/checker.hpp +++ b/src/checker.hpp @@ -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; |