(image: &str, digest: &str)
| 196 | /// If the image already has a digest, it will be replaced. |
| 197 | #[allow(dead_code)] |
| 198 | pub(crate) fn digested_pullspec(image: &str, digest: &str) -> String { |
| 199 | let image = image.rsplit_once('@').map(|v| v.0).unwrap_or(image); |
| 200 | format!("{image}@{digest}") |
| 201 | } |
| 202 | |
| 203 | #[derive(Debug)] |
| 204 | pub enum EfiError { |