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

Method LayerInfos

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

LayerInfos returns a list of BlobInfos of layers referenced by this image, in order (the root layer first, and then successive layered layers). The Digest field is guaranteed to be provided, Size may be -1 and MediaType may be optionally provided. WARNING: The list may contain duplicates, and they a

()

Source from the content-addressed store, hash-verified

410 // The Digest field is guaranteed to be provided, Size may be -1 and MediaType may be optionally provided.
411 // WARNING: The list may contain duplicates, and they are semantically relevant.
412 LayerInfos() []BlobInfo
413 // LayerInfosForCopy returns either nil (meaning the values in the manifest are fine), or updated values for the layer blobsums that are listed in the image's manifest.
414 // The Digest field is guaranteed to be provided, Size may be -1 and MediaType may be optionally provided.
415 // WARNING: The list may contain duplicates, and they are semantically relevant.

Callers 8

TestWriteReadFunction · 0.95
isEncryptedFunction · 0.65
copyLayersMethod · 0.65
LayerInfosForCopyMethod · 0.65
computeIDMethod · 0.65
CommitWithOptionsMethod · 0.65
LayerInfosForCopyMethod · 0.65

Calls

no outgoing calls

Tested by 1

TestWriteReadFunction · 0.76