diff options
| author | Jeff Carr <[email protected]> | 2024-02-23 09:02:51 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-23 09:02:51 -0600 |
| commit | ec7dd061e2ef997851b39663e7ce269ca53f3eae (patch) | |
| tree | 1627e73abd9239d07dd8230f8a67f181abce1659 /getPatches.go | |
| parent | 8f4ae1a639884f0e03e3d6d9a99cf5528d80cd63 (diff) | |
rename to repolist.RepoRow
Diffstat (limited to 'getPatches.go')
| -rw-r--r-- | getPatches.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/getPatches.go b/getPatches.go index ffb135e..c6ec681 100644 --- a/getPatches.go +++ b/getPatches.go @@ -34,7 +34,7 @@ if dirty == 0 { // move all this to repolist and gowit repos -func (repo *Repo) GetPatches(oldname string, newname string) (int, []*Patch) { +func (repo *RepoRow) GetPatches(oldname string, newname string) (int, []*Patch) { var patchcount int patches := make([]*Patch, 0, 0) @@ -74,7 +74,7 @@ func (repo *Repo) GetPatches(oldname string, newname string) (int, []*Patch) { return patchcount, patches } -func (repo *Repo) GetUserPatches() (int, []*Patch) { +func (repo *RepoRow) GetUserPatches() (int, []*Patch) { usern := repo.Status.GetUserBranchName() develn := repo.Status.GetDevelBranchName() userv := repo.Status.GetUserVersion() @@ -89,7 +89,7 @@ func (repo *Repo) GetUserPatches() (int, []*Patch) { return c, all } -func (repo *Repo) GetMasterPatches() (int, []*Patch) { +func (repo *RepoRow) GetMasterPatches() (int, []*Patch) { lasttag := repo.LastTag() mastern := repo.Status.GetMasterBranchName() masterv := repo.Status.GetMasterVersion() |
