DigestWithAlg returns the digest:algorithm of the artifact
()
| 85 | |
| 86 | // DigestWithAlg returns the digest:algorithm of the artifact |
| 87 | func (a *DigestedArtifact) DigestWithAlg() string { |
| 88 | return fmt.Sprintf("%s:%s", a.digestAlg, a.digest) |
| 89 | } |
| 90 | |
| 91 | func (a *DigestedArtifact) NameRef() name.Reference { |
| 92 | return a.nameRef |
no outgoing calls