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

Method StartCodespace

internal/codespaces/codespaces_test.go:227–233  ·  view source on GitHub ↗
(ctx context.Context, name string)

Source from the content-addressed store, hash-verified

225}
226
227func (m *mockApiClient) StartCodespace(ctx context.Context, name string) error {
228 if m.onStartCodespace == nil {
229 panic("onStartCodespace not set and StartCodespace was called")
230 }
231
232 return m.onStartCodespace()
233}
234
235func (m *mockApiClient) GetCodespace(ctx context.Context, name string, includeConnection bool) (*api.Codespace, error) {
236 if m.onGetCodespace == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected