Strip the `sha256:` prefix from a digest, yielding the bare hex used as a blob filename.
(digest: &str)
| 295 | /// Strip the `sha256:` prefix from a digest, yielding the bare hex used as a |
| 296 | /// blob filename. |
| 297 | fn digest_hex(digest: &str) -> &str { |
| 298 | digest.strip_prefix("sha256:").unwrap_or(digest) |
| 299 | } |
| 300 | |
| 301 | /// Lowercase-hex encode bytes. |
| 302 | fn hex_encode(bytes: &[u8]) -> String { |
no outgoing calls
no test coverage detected