diff options
Diffstat (limited to 'scanIterator.go')
| -rw-r--r-- | scanIterator.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scanIterator.go b/scanIterator.go index af1c28e..8c50767 100644 --- a/scanIterator.go +++ b/scanIterator.go @@ -63,6 +63,7 @@ func (r *RepoList) ReposSortByName() *RepoIterator { return iterator } +/* func (r *RepoList) UnmergedRepos() *RepoIterator { repoPointers := r.selectUnmergedRepos() @@ -72,6 +73,7 @@ func (r *RepoList) UnmergedRepos() *RepoIterator { return iterator } +*/ type ByName []*RepoRow @@ -97,15 +99,13 @@ func (r *RepoList) selectRepoAll() []*RepoRow { if !repo.Status.InitOk { continue } - if repo.Status.Whitelist { - continue - } repoPointers = append(repoPointers, repo) // Copy pointers for safe iteration } return repoPointers } +/* // this sort doesn't really work. I think it forgets to sort the last two // todo: sort this out. literally // SelectRepoPointers safely returns a slice of pointers to Repo records. @@ -143,3 +143,4 @@ func (r *RepoList) selectUnmergedRepos() []*RepoRow { return repoPointers } +*/ |
