manifest/oci.go
func (m *OCI1) ImageID([]digest.Digest) (string, error) {
	if err := m.Config.Digest.Validate(); err != nil {
		return "", err
	}
	return m.Config.Digest.Hex(), nil
}
func (m *OCI1) ImageID([]digest.Digest) (string, error) {
	if err := m.Config.Digest.Validate(); err != nil {
		return "", err
	}
	return m.Config.Digest.Hex(), nil
}
func ( m * OCI1 ) ImageID ( [ ] digest . Digest ) ( string , error ) { if err := m . Config . Digest . Validate ( ) ; err != nil { return " " , err } return m . Config . Digest . Hex ( ) , nil }
// ImageID computes an ID which can uniquely identify this image by its contents.
ImageID computes an ID which can uniquely identify this image by its contents .