| 177 | } |
| 178 | |
| 179 | std::vector<std::shared_ptr<Dirent>> list(const Path& path) override |
| 180 | { |
| 181 | mount(); |
| 182 | if (!path.empty()) |
| 183 | throw FileNotFoundException(); |
| 184 | |
| 185 | std::vector<std::shared_ptr<Dirent>> result; |
| 186 | for (auto& de : _dirents) |
| 187 | result.push_back(de); |
| 188 | return result; |
| 189 | } |
| 190 | |
| 191 | Bytes getFile(const Path& path) override |
| 192 | { |
nothing calls this directly
no test coverage detected