| 69 | } |
| 70 | |
| 71 | std::vector<std::shared_ptr<Dirent>> list(const Path& path) override |
| 72 | { |
| 73 | mount(); |
| 74 | if (path.size() != 0) |
| 75 | throw BadPathException(); |
| 76 | |
| 77 | std::vector<std::shared_ptr<Dirent>> results; |
| 78 | for (auto& de : _dirents) |
| 79 | results.push_back(de); |
| 80 | |
| 81 | return results; |
| 82 | } |
| 83 | |
| 84 | std::shared_ptr<Dirent> getDirent(const Path& path) override |
| 85 | { |
nothing calls this directly
no test coverage detected