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

Method ServerURL

pkg/cmd/codespace/mock_api.go:896–906  ·  view source on GitHub ↗

ServerURL calls ServerURLFunc.

()

Source from the content-addressed store, hash-verified

894
895// ServerURL calls ServerURLFunc.
896func (mock *apiClientMock) ServerURL() string {
897 if mock.ServerURLFunc == nil {
898 panic("apiClientMock.ServerURLFunc: method is nil but apiClient.ServerURL was just called")
899 }
900 callInfo := struct {
901 }{}
902 mock.lockServerURL.Lock()
903 mock.calls.ServerURL = append(mock.calls.ServerURL, callInfo)
904 mock.lockServerURL.Unlock()
905 return mock.ServerURLFunc()
906}
907
908// ServerURLCalls gets all the calls that were made to ServerURL.
909// Check the length with:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected