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

Function PathCombine

launcher/FileSystem.cpp:262–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262QString PathCombine(const QString& path1, const QString& path2)
263{
264 if (!path1.size())
265 return path2;
266 if (!path2.size())
267 return path1;
268 return QDir::cleanPath(path1 + QDir::separator() + path2);
269}
270
271QString PathCombine(const QString& path1, const QString& path2, const QString& path3)
272{

Callers 15

processMultiMCMethod · 0.85
ApplicationMethod · 0.85
Application.cppFile · 0.85
installUpdatesMethod · 0.85
getPagesFunction · 0.85
copyFinishedMethod · 0.85
extractSubDirMethod · 0.85
operator()Method · 0.85
DirNameFromStringFunction · 0.85
createShortCutFunction · 0.85
discoverInstancesMethod · 0.85
loadInstanceMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by 11

test_pathCombineMethod · 0.68
test_PathCombine1Method · 0.68
test_PathCombine2Method · 0.68
test_copyMethod · 0.68
test_parseFolderMethod · 0.68
test_parseFolder2Method · 0.68
test_parseFolderMethod · 0.68
test_parseFolder2Method · 0.68
getStorageMethod · 0.68