| 82 | } |
| 83 | |
| 84 | CommitInfo GitCache::commitInfo(int row) |
| 85 | { |
| 86 | QMutexLocker lock(&mCommitsMutex); |
| 87 | |
| 88 | const auto commit = row >= 0 && row < mCommits.count() ? mCommits.at(row) : nullptr; |
| 89 | |
| 90 | return commit ? *commit : CommitInfo(); |
| 91 | } |
| 92 | |
| 93 | auto GitCache::searchCommit(const QString &text, const int startingPoint) const |
| 94 | { |
no test coverage detected