From ff44255235c06213c560a5f8c4b7bffaa6767183 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 26 Sep 2025 06:05:41 -0500 Subject: save repos func --- config.go | 4 ++++ humanForgedTable.go | 3 +++ 2 files changed, 7 insertions(+) diff --git a/config.go b/config.go index cff71be..66e22af 100644 --- a/config.go +++ b/config.go @@ -33,6 +33,10 @@ func (f *Forge) ConfigSave() error { return err } +func (f *Forge) SaveRepos() error { + return f.Repos.ConfigSave(f.Config.ReposPB) +} + // functions to import and export the protobuf // data to and from config files diff --git a/humanForgedTable.go b/humanForgedTable.go index d5563f5..e1d93b5 100644 --- a/humanForgedTable.go +++ b/humanForgedTable.go @@ -22,6 +22,9 @@ func (f *Forge) makeForgedTable(pb *gitpb.Repos) *gitpb.ReposTable { col = t.AddMasterVersion() col.Width = 15 + col = t.AddMasterBranchName() + col.Width = 10 + col = t.AddFullPath() col.Width = -1 return t -- cgit v1.2.3