Skip to main content

image_ref_string

Function image_ref_string 

Source
pub fn image_ref_string(image: &ImageRef) -> String
Expand description

Render an ImageRef the one way the grant compares them.

Hand-rolled rather than a Display impl on ImageRef so the encoding this module signs cannot be changed by an unrelated edit to that type’s formatting — the same reasoning yah_plugin::signing_payload records for not signing serialized TOML.