| 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 | { |
nothing calls this directly
no test coverage detected