| 290 | } |
| 291 | |
| 292 | std::shared_ptr<ZDosDirent> findFile(const std::string filename) |
| 293 | { |
| 294 | for (const auto& dirent : _dirents) |
| 295 | { |
| 296 | if (dirent->filename == filename) |
| 297 | return dirent; |
| 298 | } |
| 299 | |
| 300 | throw FileNotFoundException(); |
| 301 | } |
| 302 | |
| 303 | int toBlockNumber(int sectorId, int track) |
| 304 | { |
nothing calls this directly
no test coverage detected