MCPcopy Create free account
hub / github.com/SmingHub/Sming / check

Method check

Sming/Libraries/Spiffs/src/FileSystem.cpp:212–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212int 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
225int FileSystem::getinfo(Info& info)
226{

Callers

nothing calls this directly

Calls 1

translateSpiffsErrorFunction · 0.85

Tested by

no test coverage detected