summaryrefslogtreecommitdiff
path: root/tableMissing.go
blob: 934e4ff6e08ff4b173636faaafa29ee4c27cfffb (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
31
// Copyright 2025 WIT.COM Inc Licensed GPL 3.0

package gitpb

// rm this is junk
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 *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()
}