MCPcopy
hub / github.com/cli/cli / GetCodespace

Method GetCodespace

internal/codespaces/codespaces.go:40–40  ·  view source on GitHub ↗
(ctx context.Context, name string, includeConnection bool)

Source from the content-addressed store, hash-verified

38
39type apiClient interface {
40 GetCodespace(ctx context.Context, name string, includeConnection bool) (*api.Codespace, error)
41 StartCodespace(ctx context.Context, name string) error
42 ExternalHTTPClient() (*http.Client, error)
43}

Callers 4

StopCodespaceMethod · 0.65
DeleteMethod · 0.65
SelectMethod · 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