hone in on gui updates
This commit is contained in:
parent
ca66a42fd1
commit
0991092bfd
12
scan.go
12
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
|
||||
|
|
Loading…
Reference in New Issue