newBICLocationReference returns a BICLocationReference appropriate for ref.
(ref dockerReference)
| 13 | |
| 14 | // newBICLocationReference returns a BICLocationReference appropriate for ref. |
| 15 | func newBICLocationReference(ref dockerReference) types.BICLocationReference { |
| 16 | // Blobs are scoped to repositories (the tag/digest are not necessary to reuse a blob). |
| 17 | return types.BICLocationReference{Opaque: ref.ref.Name()} |
| 18 | } |
| 19 | |
| 20 | // parseBICLocationReference returns a repository for encoded lr. |
| 21 | func parseBICLocationReference(lr types.BICLocationReference) (reference.Named, error) { |
no test coverage detected
searching dependent graphs…