| 646 | } |
| 647 | |
| 648 | bool 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 | |
| 657 | qint64 FileAccess::size() const |
| 658 | { |
no outgoing calls
no test coverage detected