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

Function ensureFilePathExists

launcher/FileSystem.cpp:90–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90bool ensureFilePathExists(QString filenamepath)
91{
92 QFileInfo a(filenamepath);
93 QDir dir;
94 QString ensuredPath = a.path();
95 bool success = dir.mkpath(ensuredPath);
96 return success;
97}
98
99bool ensureFolderPathExists(QString foldernamepath)
100{

Callers 10

installUpdatesMethod · 0.85
operator()Method · 0.85
initMethod · 0.85
downloadUpdatesMethod · 0.85
serializeServerDatFunction · 0.85
customizeMethod · 0.85
upgradeDeprecatedFilesFunction · 0.85
saveListMethod · 0.85
fmllibsFinishedMethod · 0.85

Calls 1

pathMethod · 0.80

Tested by

no test coverage detected