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

Function PathCombine

launcher/FileSystem.cpp:236–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234
235
236QString PathCombine(const QString & path1, const QString & path2)
237{
238 if(!path1.size())
239 return path2;
240 if(!path2.size())
241 return path1;
242 return QDir::cleanPath(path1 + QDir::separator() + path2);
243}
244
245QString PathCombine(const QString & path1, const QString & path2, const QString & path3)
246{

Callers 15

test_pathCombineMethod · 0.85
test_PathCombine1Method · 0.85
test_PathCombine2Method · 0.85
test_copyMethod · 0.85
executeTaskMethod · 0.85
processFlameMethod · 0.85
processMultiMCMethod · 0.85
ApplicationMethod · 0.85
getJarsPathMethod · 0.85
installUpdatesMethod · 0.85
getPagesFunction · 0.85
copyFinishedMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by 6

test_pathCombineMethod · 0.68
test_PathCombine1Method · 0.68
test_PathCombine2Method · 0.68
test_copyMethod · 0.68
getStorageMethod · 0.68