running returns whether the codespace environment is running.
()
| 229 | |
| 230 | // running returns whether the codespace environment is running. |
| 231 | func (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. |