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

Method TestDirGuard

tests/fl/system/file_system.cpp:44–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 fl::vector<fl::string> mSubdirs;
43public:
44 explicit TestDirGuard(const fl::string& dir) : mDir(dir) {
45 // Clean up any leftover state from previous failed runs
46 cleanup();
47 // Create fresh directory
48 fl::StubFileSystem::createDirectory(mDir.c_str());
49 }
50
51 ~TestDirGuard() {
52 cleanup();

Callers

nothing calls this directly

Calls 2

createDirectoryFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected