MCPcopy Create free account
hub / github.com/MultiMC/Launcher / ensureFolderPathExists

Function ensureFolderPathExists

launcher/FileSystem.cpp:99–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99bool ensureFolderPathExists(QString foldernamepath)
100{
101 QFileInfo a(foldernamepath);
102 QDir dir;
103 QString ensuredPath = a.filePath();
104 bool success = dir.mkpath(ensuredPath);
105 return success;
106}
107
108bool copy::operator()(const QString &offset)
109{

Callers 15

ApplicationMethod · 0.85
installUpdatesMethod · 0.85
operator()Method · 0.85
createPackComponentMethod · 0.85
downloadSucceededMethod · 0.85
TranslationsModelMethod · 0.85
ScreenshotsPageMethod · 0.85
openedImplMethod · 0.85
CustomThemeMethod · 0.85
directoryChangedMethod · 0.85
startWatchingMethod · 0.85

Calls 1

filePathMethod · 0.80

Tested by

no test coverage detected