MCPcopy Create free account
hub / github.com/FastLED/FastLED / setTestFileSystemRoot

Function setTestFileSystemRoot

src/platforms/stub/fs_stub.cpp.hpp:14–20  ·  view source on GitHub ↗

Function to set test root path for stub platform

Source from the content-addressed store, hash-verified

12
13// Function to set test root path for stub platform
14void setTestFileSystemRoot(const char* root_path) FL_NOEXCEPT {
15 if (root_path) {
16 g_stub_fs_root_path = root_path;
17 } else {
18 g_stub_fs_root_path.clear();
19 }
20}
21
22// Getter for test root path for stub platform
23const char* getTestFileSystemRoot() FL_NOEXCEPT {

Callers 11

mp3.hppFile · 0.85
setupCodecFilesystem_gifFunction · 0.85
setupCodecFilesystem_mp4Function · 0.85
loadFontFileFunction · 0.85
~TestDirGuardMethod · 0.85
FL_TEST_FILEFunction · 0.85
TestRootGuardMethod · 0.85
~TestRootGuardMethod · 0.85

Calls 1

clearMethod · 0.45

Tested by 1

TestRootGuardMethod · 0.68