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

Method GetRepositoryCalls

pkg/cmd/codespace/mock_api.go:769–781  ·  view source on GitHub ↗

GetRepositoryCalls gets all the calls that were made to GetRepository. Check the length with: len(mockedapiClient.GetRepositoryCalls())

()

Source from the content-addressed store, hash-verified

767//
768// len(mockedapiClient.GetRepositoryCalls())
769func (mock *apiClientMock) GetRepositoryCalls() []struct {
770 Ctx context.Context
771 Nwo string
772} {
773 var calls []struct {
774 Ctx context.Context
775 Nwo string
776 }
777 mock.lockGetRepository.RLock()
778 calls = mock.calls.GetRepository
779 mock.lockGetRepository.RUnlock()
780 return calls
781}
782
783// GetUser calls GetUserFunc.
784func (mock *apiClientMock) GetUser(ctx context.Context) (*codespacesAPI.User, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected