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

Method isLocal

src/fileaccess.cpp:674–677  ·  view source on GitHub ↗

FileAccess::isLocal() should return whether or not the m_url contains what KDiff3 considers a local i.e. non-KIO path. This is not the necessarily same as what QUrl::isLocalFile thinks. */

Source from the content-addressed store, hash-verified

672 a local i.e. non-KIO path. This is not the necessarily same as what QUrl::isLocalFile thinks.
673*/
674bool FileAccess::isLocal() const
675{
676 return m_url.isLocalFile() || !m_url.isValid() || m_url.scheme().isEmpty();
677}
678
679bool FileAccess::isReadable() const
680{

Callers 12

mkDirImpMethod · 0.45
rmDirImpMethod · 0.45
renameMethod · 0.45
listDirMethod · 0.45
enterDirMethod · 0.45
readAndPreprocessMethod · 0.45
copyFLDMethod · 0.45
CvsIgnoreListTestClass · 0.45
testIsLocalMethod · 0.45
liveTestMethod · 0.45
initTestCaseMethod · 0.45
initTestCaseMethod · 0.45

Calls 2

isValidMethod · 0.45
isEmptyMethod · 0.45

Tested by 4

testIsLocalMethod · 0.36
liveTestMethod · 0.36
initTestCaseMethod · 0.36
initTestCaseMethod · 0.36