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

Function removeFile

src/platforms/stub/fs_stub.hpp:173–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171 }
172
173 static bool removeFile(const fl::string& path) FL_NOEXCEPT {
174 // Silently succeed if file doesn't exist (cleanup idempotency)
175 if (::remove(path.c_str()) == 0) {
176 return true;
177 }
178 return errno == ENOENT; // Success if file didn't exist
179 }
180
181 static void forceRemoveDirectory(const fl::string& path) FL_NOEXCEPT {
182 // Synchronously and recursively remove directory and all contents

Callers 2

createTextFileFunction · 0.85
FL_TEST_FILEFunction · 0.85

Calls 2

removeFunction · 0.50
c_strMethod · 0.45

Tested by

no test coverage detected