MCPcopy Index your code
hub / github.com/cli/cli / ServerURL

Method ServerURL

pkg/cmd/codespace/common.go:68–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66//go:generate moq -fmt goimports -rm -skip-ensure -out mock_api.go . apiClient
67type apiClient interface {
68 ServerURL() string
69 GetUser(ctx context.Context) (*api.User, error)
70 GetCodespace(ctx context.Context, name string, includeConnection bool) (*api.Codespace, error)
71 GetOrgMemberCodespace(ctx context.Context, orgName string, userName string, codespaceName string) (*api.Codespace, error)

Callers 2

CreateMethod · 0.65
ListMethod · 0.65

Implementers 2

apiClientMockpkg/cmd/codespace/mock_api.go
APIinternal/codespaces/api/api.go

Calls

no outgoing calls

Tested by

no test coverage detected