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

Method ServerURLCalls

pkg/cmd/codespace/mock_api.go:912–920  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

910//
911// len(mockedapiClient.ServerURLCalls())
912func (mock *apiClientMock) ServerURLCalls() []struct {
913} {
914 var calls []struct {
915 }
916 mock.lockServerURL.RLock()
917 calls = mock.calls.ServerURL
918 mock.lockServerURL.RUnlock()
919 return calls
920}
921
922// StartCodespace calls StartCodespaceFunc.
923func (mock *apiClientMock) StartCodespace(ctx context.Context, name string) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected