summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-30 11:02:37 -0600
committerJeff Carr <[email protected]>2025-01-30 11:02:37 -0600
commitb91475b55b93a87aabb63e661a46d85c28623eb9 (patch)
treed9dd098e1ce66e47aa21fa6e41d61ee83658677b /common.go
parent8247d748bd26be6eb87a978573b0d435e83178a1 (diff)
switching from the old way to using protobufv0.22.49v0.22.48v0.22.47v0.22.46v0.22.45v0.22.44
Diffstat (limited to 'common.go')
-rw-r--r--common.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/common.go b/common.go
index c90b9af..cff90a9 100644
--- a/common.go
+++ b/common.go
@@ -7,6 +7,7 @@ import (
"sort"
"github.com/go-cmd/cmd"
+ "go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
)
@@ -62,7 +63,7 @@ func (r *RepoRow) State() string {
}
func (r *RepoRow) Scan() int {
- return r.NewScan()
+ return r.Update()
}
// returns a name for human consuption only
@@ -75,6 +76,10 @@ func (r *RepoRow) GetGoPath() string {
return r.pb.GetGoPath()
}
+func (r *RepoRow) GetPb() *gitpb.Repo {
+ return r.pb
+}
+
func (r *RepoRow) CheckDirty() bool {
return r.pb.CheckDirty()
}