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

Method removeFile

core/platform/FileUtils.cpp:982–988  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

980}
981
982void FileUtils::removeFile(std::string_view filepath, std::function<void(bool)> callback) const
983{
984 auto fullPath = fullPathForFilename(filepath);
985 performOperationOffthread(
986 [path = std::string{fullPath}]() -> bool { return FileUtils::getInstance()->removeFile(path); },
987 std::move(callback));
988}
989
990void FileUtils::renameFile(std::string_view path,
991 std::string_view oldname,

Callers 7

_onDownloadFinishedMethod · 0.45
onLoadMethod · 0.45
FileUtilsTests.cppFile · 0.45
unzipTestFunction · 0.45
loadLocalManifestMethod · 0.45
updateSucceedMethod · 0.45

Calls 4

getInstanceFunction · 0.85
removeFunction · 0.50
dataMethod · 0.45

Tested by 1

unzipTestFunction · 0.36