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