diff options
Diffstat (limited to 'doList.go')
| -rw-r--r-- | doList.go | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -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 } |
