| 121 | } |
| 122 | |
| 123 | std::shared_ptr<Dirent> getDirent(const Path& path) override |
| 124 | { |
| 125 | std::map<std::string, std::string> attributes; |
| 126 | |
| 127 | mount(); |
| 128 | auto pathstr = toUpper(path.to_str()); |
| 129 | FILINFO filinfo; |
| 130 | FRESULT res = f_stat(pathstr.c_str(), &filinfo); |
| 131 | throwError(res); |
| 132 | |
| 133 | return toDirent(filinfo, path.parent()); |
| 134 | } |
| 135 | |
| 136 | Bytes getFile(const Path& path) override |
| 137 | { |