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

Method GetCodespace

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

Source from the content-addressed store, hash-verified

233}
234
235func (m *mockApiClient) GetCodespace(ctx context.Context, name string, includeConnection bool) (*api.Codespace, error) {
236 if m.onGetCodespace == nil {
237 panic("onGetCodespace not set and GetCodespace was called")
238 }
239
240 return m.onGetCodespace()
241}
242
243func (m *mockApiClient) ExternalHTTPClient() (*http.Client, error) {
244 return nil, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected