From 4fa21db5a956a3364ed994fde1bb7b457ebccb00 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 4 Nov 2024 17:13:48 -0600 Subject: report cleanups Signed-off-by: Jeff Carr --- common.go | 33 --------------------------------- 1 file changed, 33 deletions(-) (limited to 'common.go') 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 -- cgit v1.2.3