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

Function fileGetSystemInfo

Sming/Core/FileSystem.h:479–483  ·  view source on GitHub ↗

@brief Get basic file system information * @retval int Error code */

Source from the content-addressed store, hash-verified

477 * @retval int Error code
478 */
479inline int fileGetSystemInfo(IFS::FileSystem::Info& info)
480{
481 CHECK_FS(getinfo)
482 return fileSystem->getinfo(info);
483}
484
485/** @brief Get the type of file system currently mounted (if any)
486 * @retval FileSystemType the file system type

Callers 3

onFileFunction · 0.85
checkSpiffsGenMethod · 0.85
fileSystemTypeFunction · 0.85

Calls 1

getinfoMethod · 0.80

Tested by

no test coverage detected