From 771ac714ac955451c3c917ea6bbf43f8d126ec3e Mon Sep 17 00:00:00 2001 From: Jose Garcia Date: Wed, 6 Oct 2021 11:47:18 -0400 Subject: [PATCH] Update docs --- pkg/cmd/codespace/common.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/cmd/codespace/common.go b/pkg/cmd/codespace/common.go index 5ced6f50a..b4de5faf6 100644 --- a/pkg/cmd/codespace/common.go +++ b/pkg/cmd/codespace/common.go @@ -233,10 +233,10 @@ func (c codespace) displayName(includeName, includeGitStatus bool) string { return c.RepositoryNWO + ": " + branch } -// GitStatusDirty represents an unsaved changes status. +// gitStatusDirty represents an unsaved changes status. const gitStatusDirty = "*" -// BranchWithGitStatus returns the branch with a star +// branchWithGitStatus returns the branch with a star // if the branch is currently being worked on. func (c codespace) branchWithGitStatus() string { if c.hasUnsavedChanges() { @@ -246,7 +246,7 @@ func (c codespace) branchWithGitStatus() string { return c.Branch } -// HasUnsavedChanges returns whether the environment has +// hasUnsavedChanges returns whether the environment has // unsaved changes. func (c codespace) hasUnsavedChanges() bool { return c.Environment.GitStatus.HasUncommitedChanges || c.Environment.GitStatus.HasUnpushedChanges