diff options
| author | Jeff Carr <[email protected]> | 2025-07-08 15:48:22 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-07-08 15:48:22 -0500 |
| commit | 0dea6a25536f49deee2cf17c3deb2bb83fc56471 (patch) | |
| tree | 76c04791fa1463590792199dd6665a995a1a97f5 /doFind.go | |
| parent | 807049f6c7b319caa60a20f53221bcb81b1168d9 (diff) | |
detect repos to update
Diffstat (limited to 'doFind.go')
| -rw-r--r-- | doFind.go | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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() |
