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

Function cleanPath

launcher/InstanceImportTask.cpp:111–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111QString cleanPath(QString path)
112{
113 if (path == ".")
114 return QString();
115 QString result = path;
116 if (result.startsWith("./"))
117 result = result.mid(2);
118 return result;
119}
120
121void InstanceImportTask::processZipPack()
122{

Callers 5

processZipPackMethod · 0.85
PathCombineFunction · 0.85
nearestExistentAncestorFunction · 0.85
willEscapeRootFunction · 0.85
existsMethod · 0.85

Calls 1

QStringClass · 0.70

Tested by

no test coverage detected