MCPcopy Create free account
hub / github.com/containers/image / UpdatedImageNeedsLayerDiffIDs

Method UpdatedImageNeedsLayerDiffIDs

types/types.go:426–426  ·  view source on GitHub ↗

UpdatedImageNeedsLayerDiffIDs returns true iff UpdatedImage(options) needs InformationOnly.LayerDiffIDs. This is a horribly specific interface, but computing InformationOnly.LayerDiffIDs can be very expensive to compute (most importantly it forces us to download the full layers even if they are alre

(options ManifestUpdateOptions)

Source from the content-addressed store, hash-verified

424 // This is a horribly specific interface, but computing InformationOnly.LayerDiffIDs can be very expensive to compute
425 // (most importantly it forces us to download the full layers even if they are already present at the destination).
426 UpdatedImageNeedsLayerDiffIDs(options ManifestUpdateOptions) bool
427 // UpdatedImage returns a types.Image modified according to options.
428 // Everything in options.InformationOnly should be provided, other fields should be set only if a modification is desired.
429 // This does not change the state of the original Image object.

Callers 2

copySingleImageMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected