Translator初步

This commit is contained in:
EmsiaetKadosh
2025-03-21 11:06:51 +08:00
parent 28cc82bcd7
commit 20f4ef1cee
11 changed files with 85 additions and 47 deletions
+9
View File
@@ -153,3 +153,12 @@ public:
return loadUntil(line);
}
};
class FileAccessor {
public:
[[nodiscard]] bool exists(const String& path) const { return std::filesystem::exists(path); }
File getAccess(const String& path);
};
inline FileAccessor fileAccessor = FileAccessor();