MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / ensureFilePathExists

Function ensureFilePathExists

launcher/FileSystem.cpp:266–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264}
265
266bool ensureFilePathExists(QString filenamepath)
267{
268 QFileInfo a(filenamepath);
269 QDir dir;
270 QString ensuredPath = a.path();
271 bool success = dir.mkpath(ensuredPath);
272 return success;
273}
274
275bool ensureFolderPathExists(const QFileInfo folderPath)
276{

Callers 15

extractMethod · 0.85
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

Calls 1

pathMethod · 0.45

Tested by

no test coverage detected