MCPcopy Create free account
hub / github.com/cli/cli / CommitsCalls

Method CommitsCalls

pkg/search/searcher_mock.go:144–154  ·  view source on GitHub ↗

CommitsCalls gets all the calls that were made to Commits. Check the length with: len(mockedSearcher.CommitsCalls())

()

Source from the content-addressed store, hash-verified

142//
143// len(mockedSearcher.CommitsCalls())
144func (mock *SearcherMock) CommitsCalls() []struct {
145 Query Query
146} {
147 var calls []struct {
148 Query Query
149 }
150 mock.lockCommits.RLock()
151 calls = mock.calls.Commits
152 mock.lockCommits.RUnlock()
153 return calls
154}
155
156// Issues calls IssuesFunc.
157func (mock *SearcherMock) Issues(query Query) (IssuesResult, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected