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

Function setRootPath

src/platforms/stub/fs_stub.hpp:147–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145 ~StubFileSystem() override = default;
146
147 void setRootPath(const fl::string& path) FL_NOEXCEPT {
148 mRootPath = path;
149 // Ensure the path ends with a directory separator
150 if (!mRootPath.empty() && mRootPath.back() != '/' && mRootPath.back() != '\\') {
151 mRootPath.append("/");
152 }
153 }
154
155 // Static test utility functions for file/directory management
156 // These are only available on the stub/test platform

Callers

nothing calls this directly

Calls 3

emptyMethod · 0.45
backMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected