MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / deletePath

Function deletePath

launcher/FileSystem.cpp:683–694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

681}
682
683bool deletePath(QString path)
684{
685 std::error_code err;
686
687 fs::remove_all(StringUtils::toStdString(path), err);
688
689 if (err) {
690 qWarning() << "Failed to remove files:" << QString::fromStdString(err.message());
691 }
692
693 return err.value() == 0;
694}
695
696bool trash(QString path, QString* pathInTrash)
697{

Callers 15

ApplicationMethod · 0.85
removeMethod · 0.85
copyFinishedMethod · 0.85
compressDirFilesFunction · 0.85
createModdedJarFunction · 0.85
finishMethod · 0.85
moveByCopyFunction · 0.85
deleteInstanceMethod · 0.85
destroyStagingPathMethod · 0.85
deleteExistingFilesMethod · 0.85
extractModsMethod · 0.85

Calls 3

toStdStringFunction · 0.85
fromStdStringFunction · 0.85
valueMethod · 0.80