blob: bf3c2bc3657e1e3c194b2cf9649c74b68a807aa9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// Copyright 2025 WIT.COM Inc Licensed GPL 3.0
package gitpb
func (pb *Repos) PrintMissingTable() {
t := pb.NewTable("missing repos table")
t.NewUuid()
var col *RepoFunc
col = t.AddNamespace()
col.Width = 45
col = t.AddURL()
col.Width = -1
/*
col = t.AddStringFunc("hash", func(r *gitpb.Repo) string {
if r.Tags == nil {
return "nil"
}
if r.Tags.Master == nil {
return "nil"
}
return r.Tags.Master.Hash
})
col.Width = 6
*/
t.PrintTable()
}
|