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

Method running

pkg/cmd/codespace/common.go:230–232  ·  view source on GitHub ↗

running returns whether the codespace environment is running.

()

Source from the content-addressed store, hash-verified

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

Callers 1

StopCodespaceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected