separator returns the separator used between repository and identifier. For digests it returns "@", for tags it returns ":".
(ref name.Reference)
| 298 | // separator returns the separator used between repository and identifier. |
| 299 | // For digests it returns "@", for tags it returns ":". |
| 300 | func separator(ref name.Reference) string { |
| 301 | if _, ok := ref.(name.Digest); ok { |
| 302 | return "@" |
| 303 | } |
| 304 | return ":" |
| 305 | } |
no outgoing calls