summaryrefslogtreecommitdiff
path: root/doList.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-23 11:38:44 -0500
committerJeff Carr <[email protected]>2025-09-23 14:50:19 -0500
commit1f22b771c3748b01d0d27574090fd2b6d4516182 (patch)
treee223e9a4b54fb1af247333bf5d33bc85826af08f /doList.go
parentada923ea054a7f3a1721e2e87a658893d55e6226 (diff)
something good about this
Diffstat (limited to 'doList.go')
-rw-r--r--doList.go17
1 files changed, 11 insertions, 6 deletions
diff --git a/doList.go b/doList.go
index 149ecc0..a7b2a17 100644
--- a/doList.go
+++ b/doList.go
@@ -6,15 +6,20 @@ import (
)
func doList() error {
- log.Info("do list here")
- // show all the patchsets with Names
+ log.Infof("do list here. Patchsets.Len()=%d\n", me.forge.Patchsets.Len())
for pset := range me.forge.Patchsets.IterAll() {
- log.Info("Info", pset.Name, pset.Uuid)
- for i, patch := range pset.Patches.Patches {
- log.Info("\t", i, patch.CommitHash, patch.Namespace)
- }
+ pset.PrintTable()
}
+ /*
+ // show all the patchsets with Names
+ for pset := range me.forge.Patchsets.IterAll() {
+ log.Info("Info", pset.Name, pset.Uuid)
+ for i, patch := range pset.Patches.Patches {
+ log.Info("\t", i, patch.CommitHash, patch.Namespace)
+ }
+ }
+ */
return nil
}