Skip to content

Commit 771ac71

Browse files
committed
Update docs
1 parent a509c2d commit 771ac71

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/cmd/codespace/common.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,10 @@ func (c codespace) displayName(includeName, includeGitStatus bool) string {
233233
return c.RepositoryNWO + ": " + branch
234234
}
235235

236-
// GitStatusDirty represents an unsaved changes status.
236+
// gitStatusDirty represents an unsaved changes status.
237237
const gitStatusDirty = "*"
238238

239-
// BranchWithGitStatus returns the branch with a star
239+
// branchWithGitStatus returns the branch with a star
240240
// if the branch is currently being worked on.
241241
func (c codespace) branchWithGitStatus() string {
242242
if c.hasUnsavedChanges() {
@@ -246,7 +246,7 @@ func (c codespace) branchWithGitStatus() string {
246246
return c.Branch
247247
}
248248

249-
// HasUnsavedChanges returns whether the environment has
249+
// hasUnsavedChanges returns whether the environment has
250250
// unsaved changes.
251251
func (c codespace) hasUnsavedChanges() bool {
252252
return c.Environment.GitStatus.HasUncommitedChanges || c.Environment.GitStatus.HasUnpushedChanges

0 commit comments

Comments
 (0)