summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
Diffstat (limited to 'common.go')
-rw-r--r--common.go33
1 files changed, 0 insertions, 33 deletions
diff --git a/common.go b/common.go
index 42a0c30..6c8e97e 100644
--- a/common.go
+++ b/common.go
@@ -100,39 +100,6 @@ func (r *RepoRow) LastTag() string {
return r.lastTag.String()
}
-/*
-// returns the state of the GO go.mod and go.sum files
-// this is used to tell if they are valid and correctly reflect
-// the versions of the other GUI packages
-// at this point in time, there is _NO_ way to be check our
-// be sure that anything will run with older versions
-// because this are changing too often at this point
-// TODO: revisit this in 2025 or 2026
-func (r *RepoRow) GoState() string {
- if r == nil {
- log.Info("GoState() r == nil")
- return "goState == nil"
- }
- if r.goState == nil {
- log.Info("GoState() r.goState == nil")
- return "goState == nil"
- }
- return r.goState.String()
-}
-
-func (r *RepoRow) SetGoState(s string) {
- if r == nil {
- log.Info("SetGoState() r == nil")
- return
- }
- if r.goState == nil {
- log.Info("goState == nil")
- return
- }
- r.goState.SetText(s)
-}
-*/
-
func (r *RepoRow) IsPerfect() bool {
if r.gitState.String() == "PERFECT" {
return true