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

Method getMetadata

lib/vfs/zdos.cc:203–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201 }
202
203 std::map<std::string, std::string> getMetadata() override
204 {
205 mount();
206
207 std::map<std::string, std::string> attributes;
208
209 attributes[VOLUME_NAME] = "";
210 attributes[TOTAL_BLOCKS] = std::to_string(_totalBlocks);
211 attributes[USED_BLOCKS] = std::to_string(_usedBlocks);
212 attributes[BLOCK_SIZE] = "128";
213 return attributes;
214 }
215
216 std::shared_ptr<Dirent> getDirent(const Path& path) override
217 {

Callers

nothing calls this directly

Calls 1

to_stringFunction · 0.85

Tested by

no test coverage detected