pub(super) fn replace_oci_identifier_version( content: &str, pointer: Option<&str>, next: &str, ) -> Result<String>