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

Function ensureFilePathExists

launcher/FileSystem.cpp:149–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149bool ensureFilePathExists(QString filenamepath)
150{
151 QFileInfo a(filenamepath);
152 QDir dir;
153 QString ensuredPath = a.path();
154 bool success = dir.mkpath(ensuredPath);
155 return success;
156}
157
158bool ensureFolderPathExists(const QFileInfo folderPath)
159{

Callers 12

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

Calls 1

pathMethod · 0.80

Tested by

no test coverage detected