diff options
Diffstat (limited to 'tableMissing.go')
| -rw-r--r-- | tableMissing.go | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tableMissing.go b/tableMissing.go new file mode 100644 index 0000000..bf3c2bc --- /dev/null +++ b/tableMissing.go @@ -0,0 +1,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() +} |
