| 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) |