drStartSector=0 reads the root directory; any other value reads * the sub-directory stored in the first 3 sectors of a DR entry. */
| 138 | /* drStartSector=0 reads the root directory; any other value reads |
| 139 | * the sub-directory stored in the first 3 sectors of a DR entry. */ |
| 140 | Directory(Smaky6Filesystem* fs, unsigned drStartSector = 0) |
| 141 | { |
| 142 | auto bytes = fs->getLogicalSector(drStartSector, 3); |
| 143 | parseFrom(bytes, drStartSector); |
| 144 | } |
| 145 | |
| 146 | std::shared_ptr<SmakyDirent> findFile(const std::string& filename) |
| 147 | { |
nothing calls this directly
no test coverage detected