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

Function spiffs_format

Sming/Libraries/Spiffs/src/Spiffs.cpp:70–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70bool spiffs_format()
71{
72 if(fileSystemType() != IFS::IFileSystem::Type::SPIFFS) {
73 return false;
74 }
75 return fileSystemFormat() == FS_OK;
76}
77
78bool spiffs_format(Storage::Partition& partition)
79{

Callers

nothing calls this directly

Calls 7

fileSystemTypeFunction · 0.85
fileSystemFormatFunction · 0.85
fileFreeFileSystemFunction · 0.85
fileSetFileSystemFunction · 0.85
formatMethod · 0.45
c_strMethod · 0.45
getErrorStringMethod · 0.45

Tested by

no test coverage detected