summaryrefslogtreecommitdiff
path: root/doList.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-23 12:14:26 -0500
committerJeff Carr <[email protected]>2025-09-23 14:50:21 -0500
commitb09b86009ecb17c171aab400af73a568d084f49e (patch)
treeaf6767d0f83305b63b38bc544fe75c49d84a6492 /doList.go
parent1f22b771c3748b01d0d27574090fd2b6d4516182 (diff)
some fun stuff
Diffstat (limited to 'doList.go')
-rw-r--r--doList.go19
1 files changed, 10 insertions, 9 deletions
diff --git a/doList.go b/doList.go
index a7b2a17..beb6187 100644
--- a/doList.go
+++ b/doList.go
@@ -6,20 +6,21 @@ import (
)
func doList() error {
-
log.Infof("do list here. Patchsets.Len()=%d\n", me.forge.Patchsets.Len())
for pset := range me.forge.Patchsets.IterAll() {
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
+}
+
+func doClean() error {
+ log.Infof("clean Patchsets.Len()=%d\n", me.forge.Patchsets.Len())
+ // show all the patchsets with Names
+ for pset := range me.forge.Patchsets.IterAll() {
+ for patch := range pset.Patches.IterAll() {
+ log.Info("\t", patch.CommitHash, patch.PatchId, patch.Namespace)
}
- */
+ }
return nil
}