diff options
| author | Jeff Carr <[email protected]> | 2025-01-29 16:18:04 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-29 16:18:04 -0600 |
| commit | 8247d748bd26be6eb87a978573b0d435e83178a1 (patch) | |
| tree | d45af68f4eec63a3d620033bd9e91b029639053d /common.go | |
| parent | b95118a30d152f7be7755059d87db58c2360e563 (diff) | |
Diffstat (limited to 'common.go')
| -rw-r--r-- | common.go | 23 |
1 files changed, 3 insertions, 20 deletions
@@ -56,28 +56,9 @@ func (r *RepoList) FindRepo(path string) *RepoRow { return repo } -/* -func (r *RepoList) AllRepos() []*RepoRow { - var all []*RepoRow - for _, repo := range me.allrepos { - all = append(all, repo) - } - return all -} - -// deprecate this -func AllRepos() []*RepoRow { - var all []*RepoRow - for _, repo := range me.allrepos { - all = append(all, repo) - } - return all -} -*/ - // a human readable state of the current repo func (r *RepoRow) State() string { - return r.gitState.String() + return r.pbState.String() } func (r *RepoRow) Scan() int { @@ -126,6 +107,7 @@ func (r *RepoRow) LastTag() string { return r.lastTag.String() } +/* func (r *RepoRow) IsPerfect() bool { if r.gitState.String() == "PERFECT" { return true @@ -135,6 +117,7 @@ func (r *RepoRow) IsPerfect() bool { } return false } +*/ func (r *RepoRow) Run(cmd []string) cmd.Status { return r.pb.Run(cmd) |
