MCPcopy Create free account
hub / github.com/axmolengine/axmol / removeDirectory

Method removeDirectory

core/platform/FileUtils.cpp:975–980  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

973}
974
975void FileUtils::removeDirectory(std::string_view dirPath, std::function<void(bool)> callback) const
976{
977 performOperationOffthread(
978 [path = std::string{dirPath}]() -> bool { return FileUtils::getInstance()->removeDirectory(path); },
979 std::move(callback));
980}
981
982void FileUtils::removeFile(std::string_view filepath, std::function<void(bool)> callback) const
983{

Callers 9

lua_ax_deleteDownloadDirFunction · 0.45
FileUtilsTests.cppFile · 0.45
initManifestsMethod · 0.45
loadLocalManifestMethod · 0.45
parseVersionMethod · 0.45
parseManifestMethod · 0.45
startUpdateMethod · 0.45
updateSucceedMethod · 0.45

Calls 5

getInstanceFunction · 0.85
dataMethod · 0.45
appendMethod · 0.45
c_strMethod · 0.45

Tested by 1

lua_ax_deleteDownloadDirFunction · 0.36