| 12 | namespace Abyss::FileSystem { |
| 13 | |
| 14 | class Direct final : public Provider { |
| 15 | std::filesystem::path _basePath; |
| 16 | // Makes the filenames case insensitive regardless of OS |
| 17 | absl::flat_hash_map<std::string, std::string> _files; |
| 18 | |
| 19 | public: |
| 20 | explicit Direct(const std::filesystem::path &path); |
| 21 | bool has(std::string_view fileName) override; |
| 22 | InputStream load(std::string_view fileName) override; |
| 23 | }; |
| 24 | |
| 25 | } // namespace Abyss::FileSystem |
nothing calls this directly
no outgoing calls
no test coverage detected