MCPcopy Create free account
hub / github.com/MemNixFS/MemNixFS / size

Method size

src/io/file_memory_source.cpp:34–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 ~FileMemorySource() override { if (fp_) std::fclose(fp_); }
33
34 u64 size() const override { return size_; }
35 const std::string& name() const override { return name_; }
36
37 std::size_t read(u64 offset, void* out, std::size_t len) const override {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected