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

Method RepositoriesCalls

pkg/search/searcher_mock.go:208–218  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

206//
207// len(mockedSearcher.RepositoriesCalls())
208func (mock *SearcherMock) RepositoriesCalls() []struct {
209 Query Query
210} {
211 var calls []struct {
212 Query Query
213 }
214 mock.lockRepositories.RLock()
215 calls = mock.calls.Repositories
216 mock.lockRepositories.RUnlock()
217 return calls
218}
219
220// URL calls URLFunc.
221func (mock *SearcherMock) URL(query Query) string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected