| 113 | } |
| 114 | |
| 115 | std::map<std::string, std::string> getMetadata() override |
| 116 | { |
| 117 | mount(); |
| 118 | |
| 119 | std::map<std::string, std::string> attributes; |
| 120 | |
| 121 | attributes[VOLUME_NAME] = _volumeLabel; |
| 122 | attributes[TOTAL_BLOCKS] = std::to_string(_totalBlocks); |
| 123 | attributes[USED_BLOCKS] = std::to_string(_usedBlocks); |
| 124 | attributes[BLOCK_SIZE] = "512"; |
| 125 | return attributes; |
| 126 | } |
| 127 | |
| 128 | std::shared_ptr<Dirent> getDirent(const Path& path) override |
| 129 | { |
nothing calls this directly
no test coverage detected