diff options
| author | Jeff Carr <[email protected]> | 2025-10-04 03:45:49 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-04 03:45:49 -0500 |
| commit | 8d535b0a0771ceb53a4163226b1d7d5f95052989 (patch) | |
| tree | fdbef32a60674ea185024c8aba37fac836cce528 /humanTable.go | |
| parent | 5ee8c4f295205e7bfd316b43a503f1ec281a1b03 (diff) | |
start removing old table codev0.0.163
Diffstat (limited to 'humanTable.go')
| -rw-r--r-- | humanTable.go | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/humanTable.go b/humanTable.go index 9532170..748475b 100644 --- a/humanTable.go +++ b/humanTable.go @@ -2,18 +2,10 @@ package forgepb -import ( - "path/filepath" - - "go.wit.com/lib/cobol" - "go.wit.com/lib/gui/shell" - "go.wit.com/lib/protobuf/gitpb" - "go.wit.com/log" -) - // All this does is output human readable text formatted to be viewable on // a console with a fixed with font. AKA: a typerwriter +/* func (f *Forge) PrintHumanTable(allr *gitpb.Repos) { log.DaemonMode(true) @@ -126,18 +118,8 @@ func (f *Forge) printRepoToTable(repo *gitpb.Repo, sizes []int, full bool) { if gopath == "" { gopath = repo.GetFullPath() } - var rtype string = repo.GetRepoType() - switch rtype { - case "binary": - rtype = "GO bin" - case "library": - rtype = "GO lib" - case "protobuf": - rtype = "GO pb" - } - if f.IsPrivate(repo) { - rtype = "priv" - } + + rtype := f.getRepoType(repo) // ctime := repo.Tags.GetAge(mhort) // age := shell.FormatDuration(time.Since(ctime)) @@ -226,3 +208,4 @@ func (f *Forge) printForgedToTable(repo *gitpb.Repo, sizes []int) { log.Info(cobol.TerminalChomp(start + " " + end)) } +*/ |
