MCPcopy Create free account
hub / github.com/containers/common / Digests

Method Digests

libimage/image.go:139–141  ·  view source on GitHub ↗

Digests is a list of digest values of the image's manifests, and possibly a manually-specified value, that we can use to locate the image. If Digest is set, its value is also in this list.

()

Source from the content-addressed store, hash-verified

137// manually-specified value, that we can use to locate the image. If Digest is
138// set, its value is also in this list.
139func (i *Image) Digests() []digest.Digest {
140 return i.storageImage.Digests
141}
142
143// IsReadOnly returns whether the image is set read only.
144func (i *Image) IsReadOnly() bool {

Callers 5

RepoDigestsMethod · 0.95
TestImageFunctionsFunction · 0.80
LookupInstanceMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestImageFunctionsFunction · 0.64