pub fn layer_content_id(diff_id: &OciDigest) -> StringExpand description
Return the content-identifier string used to register a layer splitstream.
This is the key passed to composefs::repository::Repository::has_stream
and composefs::repository::Repository::write_stream for a given OCI
diff-id. Callers outside this crate (e.g. the varlink layer-sync service)
use this to look up whether a layer has been imported and to obtain its
fs-verity hash.