MCPcopy Create free account
hub / github.com/KDE/kdevelop / comparableUpUrl

Function comparableUpUrl

kdevplatform/util/tests/test_path.cpp:202–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202QUrl comparableUpUrl(const QUrl& url)
203{
204 QUrl ret = preserveWindowsDriveLetter(url, [&](const QUrl& url) {
205 return KIO::upUrl(url).adjusted(QUrl::RemovePassword);
206 });
207 return ret.adjusted(QUrl::StripTrailingSlash);
208}
209
210void TestPath::testPath()
211{

Callers 1

testPathMethod · 0.85

Calls 1

Tested by

no test coverage detected