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

Method EditCodespaceCalls

pkg/cmd/codespace/mock_api.go:412–426  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

410//
411// len(mockedapiClient.EditCodespaceCalls())
412func (mock *apiClientMock) EditCodespaceCalls() []struct {
413 Ctx context.Context
414 CodespaceName string
415 Params *codespacesAPI.EditCodespaceParams
416} {
417 var calls []struct {
418 Ctx context.Context
419 CodespaceName string
420 Params *codespacesAPI.EditCodespaceParams
421 }
422 mock.lockEditCodespace.RLock()
423 calls = mock.calls.EditCodespace
424 mock.lockEditCodespace.RUnlock()
425 return calls
426}
427
428// ExternalHTTPClient calls ExternalHTTPClientFunc.
429func (mock *apiClientMock) ExternalHTTPClient() (*http.Client, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected