MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / commitInfo

Method commitInfo

3rdparty/unioncode-GitQlient/src/cache/GitCache.cpp:84–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84CommitInfo 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
93auto GitCache::searchCommit(const QString &text, const int startingPoint) const
94{

Callers 15

loadFileDiffMethod · 0.80
loadCommitDiffMethod · 0.80
changeSelectionMethod · 0.80
HistoryWidgetMethod · 0.80
onOpenFullDiffMethod · 0.80
searchMethod · 0.80
cherryPickCommitMethod · 0.80
showWarningMergeMethod · 0.80
showPullConflictMethod · 0.80
openCommitDiffMethod · 0.80
changeDiffViewMethod · 0.80

Calls 10

atMethod · 0.80
cbeginMethod · 0.80
cendMethod · 0.80
startsWithMethod · 0.80
CommitInfoClass · 0.70
countMethod · 0.45
isEmptyMethod · 0.45
valueMethod · 0.45
isValidMethod · 0.45
keysMethod · 0.45

Tested by

no test coverage detected