| 210 | } |
| 211 | |
| 212 | int FileSystem::check() |
| 213 | { |
| 214 | fs.check_cb_f = [](spiffs*, [[maybe_unused]] spiffs_check_type type, [[maybe_unused]] spiffs_check_report report, |
| 215 | [[maybe_unused]] u32_t arg1, [[maybe_unused]] u32_t arg2) { |
| 216 | if(report > SPIFFS_CHECK_PROGRESS) { |
| 217 | debug_d("SPIFFS check %d, %d, %u, %u", type, report, arg1, arg2); |
| 218 | } |
| 219 | }; |
| 220 | |
| 221 | int err = SPIFFS_check(handle()); |
| 222 | return translateSpiffsError(err); |
| 223 | } |
| 224 | |
| 225 | int FileSystem::getinfo(Info& info) |
| 226 | { |
nothing calls this directly
no test coverage detected