(digest string, digestAlg string)
| 55 | } |
| 56 | |
| 57 | func NewDigestedArtifactForRelease(digest string, digestAlg string) (artifact *DigestedArtifact) { |
| 58 | return &DigestedArtifact{ |
| 59 | digest: digest, |
| 60 | digestAlg: digestAlg, |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | func NewDigestedArtifact(client oci.Client, reference, digestAlg string) (artifact *DigestedArtifact, err error) { |
| 65 | normalized, artifactType, err := normalizeReference(reference, os.PathSeparator) |
no outgoing calls
no test coverage detected