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

Function PathCombine

launcher/FileSystem.cpp:712–719  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

710}
711
712QString PathCombine(const QString& path1, const QString& path2)
713{
714 if (!path1.size())
715 return path2;
716 if (!path2.size())
717 return path1;
718 return QDir::cleanPath(path1 + QDir::separator() + path2);
719}
720
721QString PathCombine(const QString& path1, const QString& path2, const QString& path3)
722{

Callers 15

setFilterStateMethod · 0.85
processMultiMCMethod · 0.85
ApplicationMethod · 0.85
updaterEnabledMethod · 0.85
Application.cppFile · 0.85
handleDataMigrationMethod · 0.85
extractMethod · 0.85
getLibraryStringFunction · 0.85
findLibraryFunction · 0.85
getPagesFunction · 0.85
executeTaskMethod · 0.85

Calls 1

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