image/manifest.go
func manifestLayerInfosToBlobInfos(layers []manifest.LayerInfo) []types.BlobInfo {
	blobs := make([]types.BlobInfo, len(layers))
	for i, layer := range layers {
		blobs[i] = layer.BlobInfo
	}
	return blobs
}
func manifestLayerInfosToBlobInfos(layers []manifest.LayerInfo) []types.BlobInfo {
	blobs := make([]types.BlobInfo, len(layers))
	for i, layer := range layers {
		blobs[i] = layer.BlobInfo
	}
	return blobs
}
func manifestLayerInfosToBlobInfos ( layers [ ] manifest . LayerInfo ) [ ] types . BlobInfo { blobs := make ( [ ] types . BlobInfo , len ( layers ) ) for i , layer := range layers { blobs [ i ] = layer . BlobInfo } return blobs }
// manifestLayerInfosToBlobInfos extracts a []types.BlobInfo from a []manifest.LayerInfo.
manifestLayerInfosToBlobInfos extracts a [] types . BlobInfo from a [] manifest . LayerInfo .