| 197 | } |
| 198 | |
| 199 | std::shared_ptr<MicrodosDirent> findFile(const std::string filename) |
| 200 | { |
| 201 | for (const auto& dirent : _dirents) |
| 202 | { |
| 203 | if (dirent->filename == filename) |
| 204 | return dirent; |
| 205 | } |
| 206 | |
| 207 | throw FileNotFoundException(); |
| 208 | } |
| 209 | |
| 210 | private: |
| 211 | const MicrodosProto& _config; |
nothing calls this directly
no test coverage detected