MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / prepareFileSystems

Function prepareFileSystems

Tactility/Source/Tactility.cpp:313–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311}
312
313void prepareFileSystems() {
314 file_system_for_each(nullptr, [](auto* fs, void* context) {
315 if (!file_system_is_mounted(fs)) return true;
316 char path[128];
317 if (file_system_get_path(fs, path, sizeof(path)) != ERROR_NONE) return true;
318 if (std::string(path) == file::MOUNT_POINT_SYSTEM) return true;
319 createTempDirectory(path);
320 return true;
321 });
322}
323
324void registerApps() {
325 registerInternalApps();

Callers 1

bootThreadCallbackMethod · 0.85

Calls 4

file_system_for_eachFunction · 0.85
file_system_is_mountedFunction · 0.85
file_system_get_pathFunction · 0.85
createTempDirectoryFunction · 0.85

Tested by

no test coverage detected