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

Function removeDirectory

src/platforms/stub/fs_stub.hpp:165–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163 }
164
165 static bool removeDirectory(const fl::string& path) FL_NOEXCEPT {
166#ifdef FL_IS_WIN
167 return _rmdir(path.c_str()) == 0;
168#else
169 return rmdir(path.c_str()) == 0;
170#endif
171 }
172
173 static bool removeFile(const fl::string& path) FL_NOEXCEPT {
174 // Silently succeed if file doesn't exist (cleanup idempotency)

Callers 1

FL_TEST_FILEFunction · 0.85

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected