summaryrefslogtreecommitdiff
path: root/scan.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-20 14:45:09 -0600
committerJeff Carr <[email protected]>2024-02-20 14:45:09 -0600
commitf3a30ed95bdc02a0152759cc65692c998122af2a (patch)
treed09af7ddbdc24b36b8396ef30bb6517c80542176 /scan.go
parent24b13e7ea4d9a0aef6cc4f98cce8c7339b5c5e98 (diff)
add scan duration label
Diffstat (limited to 'scan.go')
-rw-r--r--scan.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/scan.go b/scan.go
index 38f1d44..de876e3 100644
--- a/scan.go
+++ b/scan.go
@@ -42,6 +42,7 @@ func (r *RepoList) ScanRepositories() (int, string) {
tmp := strconv.Itoa(shown) + " repos shown"
log.Info("Setting shownCount to", tmp)
me.shownCount.SetText(tmp)
+ me.duration.SetText(s)
log.Info("Scanned", i, "repositories. todo: count/show changes in", s)
return i, s
@@ -54,7 +55,7 @@ func (r *Repo) NewScan() bool {
}
// run the repostatus update
- r.Status.UpdateNew()
+ r.Status.Update()
// print out whatever changes have happened
if c, ok := r.Status.Changed(); ok {