MCPcopy Create free account
hub / github.com/SamoZ256/hydra / FileAdapter

Method FileAdapter

src/core/horizon/loader/plugins/plugin.cpp:32–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30class FileAdapter : public filesystem::IFile {
31 public:
32 FileAdapter(Plugin& extension_, void* handle_)
33 : plugin{extension_}, handle{handle_} {}
34 ~FileAdapter() override { plugin.FileDestroy(handle); }
35
36 io::IStream* Open(filesystem::FileOpenFlags flags) override {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected