summaryrefslogtreecommitdiff
path: root/scan.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-07 05:58:33 -0600
committerJeff Carr <[email protected]>2025-01-07 05:58:33 -0600
commit0991092bfd70dd56436f5bc3533ef52a0c0f7bd2 (patch)
treed51d900f25c7d00236ec94821b7b351d761b6bd2 /scan.go
parentca66a42fd16d9724d5dc8acd7516f623fa65e00e (diff)
hone in on gui updates
Diffstat (limited to 'scan.go')
-rw-r--r--scan.go12
1 files changed, 10 insertions, 2 deletions
diff --git a/scan.go b/scan.go
index f0edf37..f6659a3 100644
--- a/scan.go
+++ b/scan.go
@@ -42,15 +42,23 @@ func (r *RepoList) ScanRepositories() (int, string) {
}
func (r *RepoRow) NewScan() int {
- return r.NewScan2(r.pb)
+ return r.NewScan2()
}
-func (r *RepoRow) NewScan2(pb *gitpb.Repo) int {
+func (r *RepoRow) NewScan3(newpb *gitpb.Repo) int {
+ log.Info("got to newscan3()")
+ log.Info("got to newscan3() new v", newpb.GetMasterVersion())
+ log.Info("got to newscan3() old v", r.pb.GetMasterVersion())
+ return r.NewScan2()
+}
+
+func (r *RepoRow) NewScan2() int {
var changed int = 0
if r.Status == nil {
log.Log(REPOWARN, "repo.Status = nil. not initialized for some reason")
return changed
}
+ pb := r.pb
if pb == nil {
log.Log(REPOWARN, "NewScan() pb = nil")
return changed