summaryrefslogtreecommitdiff
path: root/tableForged.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-11-05 15:29:40 -0600
committerJeff Carr <[email protected]>2025-11-05 15:29:40 -0600
commit12b751cc7fbaa09f205c6207c355300f15885441 (patch)
treed1ba97cbdc5f6d9c86d94206dc89eb1c878f7c97 /tableForged.go
parentb7efa450a8a220625174f21ae15f9b7ea1cd3a3b (diff)
compiles against stat.protov0.0.182
Diffstat (limited to 'tableForged.go')
-rw-r--r--tableForged.go18
1 files changed, 6 insertions, 12 deletions
diff --git a/tableForged.go b/tableForged.go
index fe86c08..721f9a5 100644
--- a/tableForged.go
+++ b/tableForged.go
@@ -25,13 +25,10 @@ func (pb *Repos) MakeForgedTable() *ReposTable {
col.Width = 10
col = t.AddStringFunc("hash", func(r *Repo) string {
- if r.Tags == nil {
- return "nil"
+ if r.MasterStat != nil {
+ return r.MasterStat.Hash
}
- if r.Tags.Master == nil {
- return "nil"
- }
- return r.Tags.Master.Hash
+ return "fixme []Stat"
})
col.Width = 6
@@ -42,13 +39,10 @@ func (pb *Repos) MakeForgedTable() *ReposTable {
col.Width = 10
col = t.AddStringFunc("hash", func(r *Repo) string {
- if r.Tags == nil {
- return "nil"
- }
- if r.Tags.Devel == nil {
- return "nil"
+ if r.DevelStat != nil {
+ return r.DevelStat.Hash
}
- return r.Tags.Devel.Hash
+ return "fixme []Stat"
})
col.Width = 6