| 144 | } |
| 145 | |
| 146 | std::shared_ptr<SmakyDirent> findFile(const std::string& filename) |
| 147 | { |
| 148 | for (auto& de : dirents) |
| 149 | if (de->filename == filename) |
| 150 | return de; |
| 151 | |
| 152 | throw FileNotFoundException(); |
| 153 | } |
| 154 | |
| 155 | private: |
| 156 | void parseFrom(const Bytes& bytes, unsigned sectorBase) |
no test coverage detected