func (m *manifestSchema2) Inspect(ctx context.Context) (*types.ImageInspectInfo, error) {
	getter := func(info types.BlobInfo) ([]byte, error) {
		if info.Digest != m.ConfigInfo().Digest {
			// Shouldn't ever happen
			return nil, errors.New("asked for a different config blob")
		}
		config, err := m.ConfigBlob(ctx)
		if err != nil {
			return nil, err
		}
		return config, nil
	}
	return m.m.Inspect(getter)
}
func (m *manifestSchema2) Inspect(ctx context.Context) (*types.ImageInspectInfo, error) {
	getter := func(info types.BlobInfo) ([]byte, error) {
		if info.Digest != m.ConfigInfo().Digest {
			
			return nil, errors.New("asked for a different config blob")
		}
		config, err := m.ConfigBlob(ctx)
		if err != nil {
			return nil, err
		}
		return config, nil
	}
	return m.m.Inspect(getter)
}
func ( m * manifestSchema2 ) Inspect ( ctx context . Context ) ( * types . ImageInspectInfo , error ) { getter := func ( info types . BlobInfo ) ( [ ] byte , error ) { if info . Digest != m . ConfigInfo ( ) . Digest { // Shouldn't ever happen return nil , errors . New ( " " ) } config , err := m . ConfigBlob ( ctx ) if err != nil { return nil , err } return config , nil } return m . m . Inspect ( getter ) }
// Inspect returns various information for (skopeo inspect) parsed from the manifest and configuration.
Inspect returns various information for ( skopeo inspect ) parsed from the manifest and configuration .