MCPcopy
hub / github.com/google/go-containerregistry / checkRepository

Function checkRepository

pkg/name/repository.go:74–76  ·  view source on GitHub ↗
(repository string)

Source from the content-addressed store, hash-verified

72}
73
74func checkRepository(repository string) error {
75 return checkElement("repository", repository, repositoryChars, 2, 255)
76}
77
78// NewRepository returns a new Repository representing the given name, according to the given strictness.
79func NewRepository(name string, opts ...Option) (Repository, error) {

Callers 1

NewRepositoryFunction · 0.85

Calls 1

checkElementFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…