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

Method running

pkg/cmd/codespace/common.go:231–233  ·  view source on GitHub ↗

running returns whether the codespace environment is running.

()

Source from the content-addressed store, hash-verified

229
230// running returns whether the codespace environment is running.
231func (c codespace) running() bool {
232 return c.State == api.CodespaceStateAvailable
233}
234
235// addDeprecatedRepoShorthand adds a -r parameter (deprecated shorthand for --repo)
236// which instructs the user to use -R instead.

Callers 1

StopCodespaceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected