| 135 | } |
| 136 | |
| 137 | std::vector<std::shared_ptr<Dirent>> list(const Path& path) override |
| 138 | { |
| 139 | mount(); |
| 140 | if (!path.empty()) |
| 141 | throw FileNotFoundException(); |
| 142 | |
| 143 | std::vector<std::shared_ptr<Dirent>> result; |
| 144 | for (auto& de : _dirents) |
| 145 | result.push_back(de); |
| 146 | return result; |
| 147 | } |
| 148 | |
| 149 | Bytes getFile(const Path& path) override |
| 150 | { |
nothing calls this directly
no test coverage detected