summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-19 16:28:24 -0600
committerJeff Carr <[email protected]>2024-02-19 16:28:24 -0600
commit240da220878c0e24fc40f40c7ea16fff66250d4e (patch)
tree7274c1039ee65e4c8c640d94a4ad30654a28cb43 /common.go
parent89e8d79d9b300cb97c33f5db55d960aafb400298 (diff)
make more widets mirrors. This is very helpful here
Diffstat (limited to 'common.go')
-rw-r--r--common.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/common.go b/common.go
index 6c5c1c2..371a47f 100644
--- a/common.go
+++ b/common.go
@@ -41,7 +41,7 @@ func AllRepos() []*Repo {
// a human readable state of the current repo
func (r *Repo) State() string {
- return r.dirtyLabel.String()
+ return r.gitState.String()
}
func (r *Repo) Scan() bool {
@@ -113,10 +113,10 @@ func (r *Repo) SetGoState(s string) {
}
func (r *Repo) IsPerfect() bool {
- if r.dirtyLabel.String() == "PERFECT" {
+ if r.gitState.String() == "PERFECT" {
return true
}
- if r.dirtyLabel.String() == "unchanged" {
+ if r.gitState.String() == "unchanged" {
return true
}
return false