diff options
| author | Jeff Carr <[email protected]> | 2024-02-19 16:28:24 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-19 16:28:24 -0600 |
| commit | 240da220878c0e24fc40f40c7ea16fff66250d4e (patch) | |
| tree | 7274c1039ee65e4c8c640d94a4ad30654a28cb43 /common.go | |
| parent | 89e8d79d9b300cb97c33f5db55d960aafb400298 (diff) | |
make more widets mirrors. This is very helpful here
Diffstat (limited to 'common.go')
| -rw-r--r-- | common.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |
