diff options
Diffstat (limited to 'doFind.go')
| -rw-r--r-- | doFind.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -69,7 +69,7 @@ func findRepos() *gitpb.Repos { func findPrivate() *gitpb.Repos { found := gitpb.NewRepos() for repo := range me.forge.Repos.IterByFullPath() { - if me.forge.Config.IsPrivate(repo.GetGoPath()) { + if me.forge.Config.IsPrivate(repo.Namespace) { found.AppendByFullPath(repo) } } @@ -84,7 +84,7 @@ func findMine() *gitpb.Repos { // log.Printf("get mine %s\n", me.forge.GetGoSrc()) for repo := range me.forge.Repos.IterByFullPath() { - if me.forge.Config.IsWritable(repo.GetGoPath()) { + if me.forge.Config.IsWritable(repo.Namespace) { found.AppendByFullPath(repo) } } @@ -98,7 +98,7 @@ func findFavorites() *gitpb.Repos { // log.Printf("get favorites %s\n", me.forge.GetGoSrc()) for repo := range me.forge.Repos.IterByFullPath() { - if me.forge.Config.IsFavorite(repo.GetGoPath()) { + if me.forge.Config.IsFavorite(repo.Namespace) { found.AppendByFullPath(repo) } } @@ -168,7 +168,7 @@ func findReposWithPatches() *gitpb.Repos { } // ignore read-only repos for checks below here - if me.forge.Config.IsReadOnly(repo.GetGoPath()) { + if me.forge.Config.IsReadOnly(repo.Namespace) { continue } |
