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