layerDigestsDiffer returns true iff the digests in a and b differ (ignoring sizes and possible other fields)
(a, b []types.BlobInfo)
| 562 | |
| 563 | // layerDigestsDiffer returns true iff the digests in a and b differ (ignoring sizes and possible other fields) |
| 564 | func layerDigestsDiffer(a, b []types.BlobInfo) bool { |
| 565 | return !slices.EqualFunc(a, b, func(a, b types.BlobInfo) bool { |
| 566 | return a.Digest == b.Digest |
| 567 | }) |
| 568 | } |
| 569 | |
| 570 | // copyUpdatedConfigAndManifest updates the image per ic.manifestUpdates, if necessary, |
| 571 | // stores the resulting config and manifest to the destination, and returns the stored manifest |
no outgoing calls
no test coverage detected
searching dependent graphs…