MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / getMetadata

Method getMetadata

lib/vfs/appledos.cc:59–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 }
58
59 std::map<std::string, std::string> getMetadata() override
60 {
61 mount();
62
63 std::map<std::string, std::string> attributes;
64 attributes[VOLUME_NAME] = "";
65 attributes[TOTAL_BLOCKS] = std::to_string(_vtoc[0x34] * _vtoc[0x35]);
66 attributes[USED_BLOCKS] = "0";
67 attributes[BLOCK_SIZE] = "256";
68 return attributes;
69 }
70
71 std::vector<std::shared_ptr<Dirent>> list(const Path& path) override
72 {

Callers

nothing calls this directly

Calls 1

to_stringFunction · 0.85

Tested by

no test coverage detected