See https://docs.docker.com/docker-hub/official_repos
(repo string, reg Registry)
| 40 | |
| 41 | // See https://docs.docker.com/docker-hub/official_repos |
| 42 | func hasImplicitNamespace(repo string, reg Registry) bool { |
| 43 | return !strings.ContainsRune(repo, '/') && reg.RegistryStr() == DefaultRegistry |
| 44 | } |
| 45 | |
| 46 | // RepositoryStr returns the repository component of the Repository. |
| 47 | func (r Repository) RepositoryStr() string { |
no test coverage detected
searching dependent graphs…