MCPcopy Create free account
hub / github.com/AbyssEngine/AbyssEngineOld / Direct

Class Direct

src/Abyss/FileSystem/Direct.h:14–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12namespace Abyss::FileSystem {
13
14class 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected