summaryrefslogtreecommitdiff
path: root/tablePull.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-08 05:11:50 -0500
committerJeff Carr <[email protected]>2025-10-08 05:11:50 -0500
commitcd8daac7b211723bfa2b090554185b216df4ea03 (patch)
tree803e050753e5f5e7ae73e1ae3b6a2e4001a00fcf /tablePull.go
parent3c2849b486c9034335104303865c203b1824a10d (diff)
send footers back
Diffstat (limited to 'tablePull.go')
-rw-r--r--tablePull.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/tablePull.go b/tablePull.go
index 2e87e40..ebe062f 100644
--- a/tablePull.go
+++ b/tablePull.go
@@ -9,10 +9,11 @@ import (
"go.wit.com/log"
)
-func (f *Forge) PrintPullTable(pb *gitpb.Repos) {
+// returns footer
+func (f *Forge) PrintPullTable(pb *gitpb.Repos) string {
tablePB := f.makePullTable(pb)
tablePB.PrintTable()
- log.Printf("fpb.PullTable: %d repos\n", pb.Len())
+ return log.Sprintf("fpb.PullTable: %d repos\n", pb.Len())
}
func (f *Forge) makePullTable(pb *gitpb.Repos) *gitpb.ReposTable {