From ec7dd061e2ef997851b39663e7ce269ca53f3eae Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 23 Feb 2024 09:02:51 -0600 Subject: rename to repolist.RepoRow --- getPatches.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'getPatches.go') 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() -- cgit v1.2.3