summaryrefslogtreecommitdiff
path: root/scanIterator.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-03 00:34:39 -0600
committerJeff Carr <[email protected]>2024-12-03 00:34:39 -0600
commit0bc9bed597bb4d3333834da0ce4a4dc03b6b2d0d (patch)
treeaf9818d7b263da17cc902c2662a6589000a87b5c /scanIterator.go
parent1c901e921fa1f5e39c6511bbe5ca82066bd86f49 (diff)
more refactor to protobuf
Diffstat (limited to 'scanIterator.go')
-rw-r--r--scanIterator.go7
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
}
+*/