| 87 | |
| 88 | public: |
| 89 | std::shared_ptr<ProdosDirent> find(const std::string& filename) |
| 90 | { |
| 91 | for (auto& dirent : dirents) |
| 92 | if (dirent->filename == filename) |
| 93 | return dirent; |
| 94 | |
| 95 | throw FileNotFoundException(); |
| 96 | } |
| 97 | |
| 98 | private: |
| 99 | uint16_t readDirectoryBlock(uint16_t block) |
no test coverage detected