MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / ensureFolderPathExists

Function ensureFolderPathExists

launcher/FileSystem.cpp:158–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158bool ensureFolderPathExists(const QFileInfo folderPath)
159{
160 QDir dir;
161 QString ensuredPath = folderPath.filePath();
162 bool success = dir.mkpath(ensuredPath);
163 return success;
164}
165
166bool ensureFolderPathExists(const QString folderPathName)
167{

Callers 15

openPathFunction · 0.85
ApplicationMethod · 0.85
installUpdatesMethod · 0.85
extractSubDirMethod · 0.85
createPackComponentMethod · 0.85
downloadSucceededMethod · 0.85
TranslationsModelMethod · 0.85
ScreenshotsPageMethod · 0.85
openedImplMethod · 0.85
CustomThemeMethod · 0.85
directoryChangedMethod · 0.85

Calls 1

filePathMethod · 0.80

Tested by

no test coverage detected