MCPcopy Create free account
hub / github.com/Azure/peerd / ParseDigest

Method ParseDigest

pkg/urlparser/parser.go:23–25  ·  view source on GitHub ↗

ParseDigest parses the digest from the given URL. If none found, returns an error.

(url string)

Source from the content-addressed store, hash-verified

21// ParseDigest parses the digest from the given URL.
22// If none found, returns an error.
23func (p *parser) ParseDigest(url string) (digest.Digest, error) {
24 return parseDigestFromAzureUrl(url)
25}
26
27// New returns a new Parser.
28func New() Parser {

Callers

nothing calls this directly

Calls 1

parseDigestFromAzureUrlFunction · 0.85

Tested by

no test coverage detected