MCPcopy Create free account
hub / github.com/cli/cli / ParseReference

Method ParseReference

pkg/cmd/attestation/artifact/oci/client.go:44–46  ·  view source on GitHub ↗
(ref string)

Source from the content-addressed store, hash-verified

42}
43
44func (c LiveClient) ParseReference(ref string) (name.Reference, error) {
45 return c.parseReference(ref)
46}
47
48// where name is formed like ghcr.io/github/my-image-repo
49func (c LiveClient) GetImageDigest(imgName string) (*v1.Hash, name.Reference, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected