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

Method StopCodespaceCalls

pkg/cmd/codespace/mock_api.go:984–1000  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

982//
983// len(mockedapiClient.StopCodespaceCalls())
984func (mock *apiClientMock) StopCodespaceCalls() []struct {
985 Ctx context.Context
986 Name string
987 OrgName string
988 UserName string
989} {
990 var calls []struct {
991 Ctx context.Context
992 Name string
993 OrgName string
994 UserName string
995 }
996 mock.lockStopCodespace.RLock()
997 calls = mock.calls.StopCodespace
998 mock.lockStopCodespace.RUnlock()
999 return calls
1000}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected