hasUnsavedChanges returns whether the environment has unsaved changes.
()
| 223 | // hasUnsavedChanges returns whether the environment has |
| 224 | // unsaved changes. |
| 225 | func (c codespace) hasUnsavedChanges() bool { |
| 226 | return c.GitStatus.HasUncommittedChanges || c.GitStatus.HasUnpushedChanges |
| 227 | } |
| 228 | |
| 229 | // running returns whether the codespace environment is running. |
| 230 | func (c codespace) running() bool { |
no outgoing calls
no test coverage detected