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

Method exists

src/fileaccess.cpp:648–655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

646}
647
648bool FileAccess::exists() const
649{
650 if(!isLocal())
651 return m_bExists;
652 else
653 return (m_fileInfo.exists() || isSymLink()) && // QFileInfo.exists returns false for broken links,
654 absoluteFilePath() != "/dev/null"; // git uses /dev/null as a placeholder meaning does not exist
655}
656
657qint64 FileAccess::size() const
658{

Callers 15

loadDataMethod · 0.45
setFromUdsEntryMethod · 0.45
createBackupMethod · 0.45
completeInitMethod · 0.45
enterDirMethod · 0.45
saveDocumentMethod · 0.45
isBinaryEqualWithMethod · 0.45
readAndPreprocessMethod · 0.45
improveFilenamesMethod · 0.45
subPathMethod · 0.45
fileNameMethod · 0.45
deleteFLDMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected