diff options
| author | Jeff Carr <[email protected]> | 2025-11-03 13:58:21 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-11-03 13:58:21 -0600 |
| commit | 7bfca718eae796e5b659096366b2e284091b5d9c (patch) | |
| tree | fbc579cb655d154f116ad99a301a903ade9d76c9 /find.go | |
| parent | 5849f18a91fd7877ad5fb8165b29a3df8c5f3ed1 (diff) | |
does check & update of refs
Diffstat (limited to 'find.go')
| -rw-r--r-- | find.go | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -29,6 +29,20 @@ func doFind() *gitpb.Repos { return findAll() } +func doFindRepo(reponame string) *gitpb.Repos { + repos := gitpb.NewRepos() + + found := me.forge.Repos.FindByNamespace(reponame) + if found != nil { + repos.Append(found) + } + found = me.forge.Repos.FindByFullPath(reponame) + if found != nil { + repos.Append(found) + } + return repos +} + func findRepos() *gitpb.Repos { if argv.Show == nil { return findMine() |
