(ref *string)
| 19 | } |
| 20 | |
| 21 | func (r mutationResolver) getRepo(ref *string) (*cache.RepoCache, error) { |
| 22 | if ref != nil { |
| 23 | return r.cache.ResolveRepo(*ref) |
| 24 | } |
| 25 | |
| 26 | return r.cache.DefaultRepo() |
| 27 | } |
| 28 | |
| 29 | func (r mutationResolver) getBug(repoRef *string, bugPrefix string) (*cache.RepoCache, *cache.BugCache, error) { |
| 30 | repo, err := r.getRepo(repoRef) |
no test coverage detected