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

Function ensureFilePathExists

launcher/FileSystem.cpp:253–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253bool ensureFilePathExists(QString filenamepath)
254{
255 QFileInfo a(filenamepath);
256 QDir dir;
257 QString ensuredPath = a.path();
258 bool success = dir.mkpath(ensuredPath);
259 return success;
260}
261
262bool ensureFolderPathExists(const QFileInfo folderPath)
263{

Callers 15

operator()Method · 0.85
make_linksMethod · 0.85
moveFunction · 0.85
createShortcutFunction · 0.85
runLinkMethod · 0.85
updateModIndexMethod · 0.85
createOverridesFunction · 0.85
createInstanceMethod · 0.85
createInstanceMethod · 0.85
moveAndFinishUpdateMethod · 0.85
backupAppDirMethod · 0.85
initMethod · 0.85

Calls 1

pathMethod · 0.45

Tested by

no test coverage detected