MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / deleteFile

Function deleteFile

src/Core/Utils/FileUtils.cpp:158–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156 }
157
158 bool deleteFile(const std::string& path)
159 {
160 if (Debug::Log != nullptr)
161 Debug::Log->trace("<FileUtils> Delete File at {0}", path);
162 return std::remove(path.c_str()) == 0;
163 }
164
165 bool deleteDirectory(const std::string& path)
166 {

Callers 1

InitLoggerFunction · 0.85

Calls 3

removeFunction · 0.85
traceMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected