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

Function fileSystemFormat

Sming/Core/FileSystem.h:493–497  ·  view source on GitHub ↗

@brief Format the active file system * @retval int Error code */

Source from the content-addressed store, hash-verified

491 * @retval int Error code
492 */
493inline int fileSystemFormat()
494{
495 CHECK_FS(format)
496 return fileSystem->format();
497}
498
499/** @brief Perform a consistency check/repair on the active file system
500 * @retval int 0 if OK, < 0 unrecoverable errors, > 0 repairs required

Callers 2

initFunction · 0.85
spiffs_formatFunction · 0.85

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected