digested_pullspec

Function digested_pullspec 

Source
pub(crate) fn digested_pullspec(image: &str, digest: &str) -> String
Expand description

Given a possibly tagged image like quay.io/foo/bar:latest and a digest 0ab32…, return the digested form quay.io/foo/bar:latest@sha256:0ab32… If the image already has a digest, it will be replaced.