summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-26 06:05:41 -0500
committerJeff Carr <[email protected]>2025-09-26 06:07:44 -0500
commitff44255235c06213c560a5f8c4b7bffaa6767183 (patch)
tree83dbf594863be73f11624c51fa60d67bab7d81b8
parente9d6e00ac675e7349be22120e4ff14920d2d4eee (diff)
save repos func
-rw-r--r--config.go4
-rw-r--r--humanForgedTable.go3
2 files changed, 7 insertions, 0 deletions
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