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