fn image_version_and_created(
manifest: &ImageManifest,
config: &ImageConfiguration,
) -> (Option<String>, Option<DateTime<Utc>>)Expand description
Version and created timestamp for a composefs deployment image.
The version prefers the manifest annotation. When that annotation is
absent, configuration labels are used (the OCI version label, then the
legacy version label), matching ostree status. The timestamp is parsed
from config.created(); an invalid value yields no timestamp.