minor gui stuff

This commit is contained in:
Jeff Carr 2025-01-07 06:15:09 -06:00
parent 0991092bfd
commit 56ec95f9eb
1 changed files with 8 additions and 3 deletions

11
scan.go
View File

@ -45,10 +45,15 @@ func (r *RepoRow) NewScan() int {
return r.NewScan2() return r.NewScan2()
} }
func (r *RepoRow) UpdatePb(newpb *gitpb.Repo) {
r.pb = newpb
}
func (r *RepoRow) NewScan3(newpb *gitpb.Repo) int { func (r *RepoRow) NewScan3(newpb *gitpb.Repo) int {
log.Info("got to newscan3()") if newpb.GetMasterVersion() != r.pb.GetMasterVersion() {
log.Info("got to newscan3() new v", newpb.GetMasterVersion()) log.Info("THIS IS IT", newpb.GetMasterVersion(), r.pb.GetMasterVersion(), newpb.GetGoPath())
log.Info("got to newscan3() old v", r.pb.GetMasterVersion()) }
r.pb = newpb
return r.NewScan2() return r.NewScan2()
} }