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

Method GetUserCalls

pkg/cmd/codespace/mock_api.go:803–813  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

801//
802// len(mockedapiClient.GetUserCalls())
803func (mock *apiClientMock) GetUserCalls() []struct {
804 Ctx context.Context
805} {
806 var calls []struct {
807 Ctx context.Context
808 }
809 mock.lockGetUser.RLock()
810 calls = mock.calls.GetUser
811 mock.lockGetUser.RUnlock()
812 return calls
813}
814
815// ListCodespaces calls ListCodespacesFunc.
816func (mock *apiClientMock) ListCodespaces(ctx context.Context, opts codespacesAPI.ListCodespacesOptions) ([]*codespacesAPI.Codespace, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected