diff options
| author | Jeff Carr <[email protected]> | 2025-01-30 11:02:37 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-30 11:02:37 -0600 |
| commit | b91475b55b93a87aabb63e661a46d85c28623eb9 (patch) | |
| tree | d9dd098e1ce66e47aa21fa6e41d61ee83658677b /common.go | |
| parent | 8247d748bd26be6eb87a978573b0d435e83178a1 (diff) | |
Diffstat (limited to 'common.go')
| -rw-r--r-- | common.go | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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() } |
