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

Function PathCombine

launcher/FileSystem.cpp:698–705  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

696}
697
698QString PathCombine(const QString& path1, const QString& path2)
699{
700 if (!path1.size())
701 return path2;
702 if (!path2.size())
703 return path1;
704 return QDir::cleanPath(path1 + QDir::separator() + path2);
705}
706
707QString PathCombine(const QString& path1, const QString& path2, const QString& path3)
708{

Callers 15

setFilterStateMethod · 0.85
findMangoHudFunction · 0.85
findFunction · 0.85
installIconFunction · 0.85
processMultiMCMethod · 0.85
ApplicationMethod · 0.85
updaterEnabledMethod · 0.85
Application.cppFile · 0.85
handleDataMigrationMethod · 0.85
getPagesFunction · 0.85

Calls 2

cleanPathFunction · 0.85
sizeMethod · 0.45

Tested by 15

test_pathCombineMethod · 0.68
test_PathCombine1Method · 0.68
test_PathCombine2Method · 0.68
test_copyMethod · 0.68
test_copy_single_fileMethod · 0.68
test_linkMethod · 0.68
test_hard_linkMethod · 0.68