blob: 6ee1504cc7b4a7ef2bfc97111d79fd21e4651571 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright 2025 WIT.COM Inc Licensed GPL 3.0
package forgepb
import (
"go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
)
func (f *Forge) PrintErrorsTB(pb *gitpb.Repos) string {
pb = pb.SortActual()
var col *gitpb.RepoFunc
t := f.makeDefaultBaseTB(pb)
col = t.AddStateChange()
col.Width = 16
col = t.AddState()
col.Width = -1
t.PrintTable()
return log.Sprintf("f.ErrorsTB(): total=(%d)", pb.Len())
}
|