| 163 | } |
| 164 | |
| 165 | bool deleteDirectory(const std::string& path) |
| 166 | { |
| 167 | Debug::Log->trace("<FileUtils> Delete Directory at {0}", path); |
| 168 | |
| 169 | #ifdef _USE_FILESYSTEM_FALLBACK |
| 170 | Debug::Log->error("<FileUtils> Unimplemented deleteDirectory for " |
| 171 | "filesystem fallback"); |
| 172 | #else |
| 173 | if (directoryExists(path)) |
| 174 | return std::filesystem::remove(path); |
| 175 | #endif |
| 176 | return false; |
| 177 | } |
| 178 | |
| 179 | std::string getCurrentDirectory() |
| 180 | { |
nothing calls this directly
no test coverage detected