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

Function getFileSystem

Sming/Core/FileSystem.h:64–70  ·  view source on GitHub ↗

* @brief Get the currently active file system, if any * @retval IFS::FileSystem* */

Source from the content-addressed store, hash-verified

62 * @retval IFS::FileSystem*
63 */
64inline IFS::FileSystem* getFileSystem()
65{
66 if(SmingInternal::activeFileSystem == nullptr) {
67 debug_e("ERROR: No active file system");
68 }
69 return SmingInternal::activeFileSystem;
70}
71
72/** @brief Sets the currently active file system
73 * @param fileSystem

Callers 15

initFileSystemFunction · 0.85
mountSpiffsFromFileMethod · 0.85
flashmem.cppFile · 0.85
HostFileStreamMethod · 0.85
checkFileAccessMethod · 0.85
onCommandMethod · 0.85
getFileSystemMethod · 0.85
fileMountArchiveFunction · 0.85
fileIsEOFFunction · 0.85
fileGetErrorStringFunction · 0.85
fileGetSizeFunction · 0.85
fileGetContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected