summaryrefslogtreecommitdiff
path: root/getPatches.go
diff options
context:
space:
mode:
Diffstat (limited to 'getPatches.go')
-rw-r--r--getPatches.go6
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()