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

Method canShow

src/plugins/git/client/gitclient.cpp:164–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164bool GitClientPrivate::canShow(const QString &commitId)
165{
166 return !commitId.startsWith('^') && commitId.count('0') != commitId.size();
167}
168
169void GitClientPrivate::show(const QString &workspace, const QString &commitId)
170{

Callers 1

showMethod · 0.80

Calls 3

startsWithMethod · 0.80
countMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected