summaryrefslogtreecommitdiff
path: root/doFind.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-07-08 15:48:22 -0500
committerJeff Carr <[email protected]>2025-07-08 15:48:22 -0500
commit0dea6a25536f49deee2cf17c3deb2bb83fc56471 (patch)
tree76c04791fa1463590792199dd6665a995a1a97f5 /doFind.go
parent807049f6c7b319caa60a20f53221bcb81b1168d9 (diff)
detect repos to update
Diffstat (limited to 'doFind.go')
-rw-r--r--doFind.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/doFind.go b/doFind.go
index 8c4acea..c6d11ea 100644
--- a/doFind.go
+++ b/doFind.go
@@ -121,6 +121,19 @@ func findAll() *gitpb.Repos {
return found
}
+func find50() *gitpb.Repos {
+ count := 0
+ found := gitpb.NewRepos()
+ for repo := range me.forge.Repos.IterByFullPath() {
+ found.AppendByGoPath(repo)
+ if count > 50 {
+ return found
+ }
+ count += 1
+ }
+ return found
+}
+
func findUser() *gitpb.Repos {
found := gitpb.NewRepos()