MCPcopy Create free account
hub / github.com/KDE/kdiff3 / prettyAbsPath

Method prettyAbsPath

src/fileaccess.cpp:775–778  ·  view source on GitHub ↗

Workaround for QUrl::toDisplayString/QUrl::toString behavior that does not fit KDiff3's expectations

Source from the content-addressed store, hash-verified

773
774//Workaround for QUrl::toDisplayString/QUrl::toString behavior that does not fit KDiff3's expectations
775QString FileAccess::prettyAbsPath() const
776{
777 return isLocal() ? absoluteFilePath() : m_url.toDisplayString();
778}
779
780const QDateTime& FileAccess::lastModified() const
781{

Callers 15

statMethod · 0.45
getMethod · 0.45
putMethod · 0.45
renameMethod · 0.45
copyFileMethod · 0.45
listDirMethod · 0.45
getDirNameAMethod · 0.45
getDirNameBMethod · 0.45
getDirNameCMethod · 0.45
getDirNameDestMethod · 0.45
getAliasNameMethod · 0.45
readAndPreprocessMethod · 0.45

Calls

no outgoing calls

Tested by 2

testAbsolutePathMethod · 0.36
liveTestMethod · 0.36