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

Method IsReadOnly

libimage/image.go:144–146  ·  view source on GitHub ↗

IsReadOnly returns whether the image is set read only.

()

Source from the content-addressed store, hash-verified

142
143// IsReadOnly returns whether the image is set read only.
144func (i *Image) IsReadOnly() bool {
145 return i.storageImage.ReadOnly
146}
147
148// IsDangling returns true if the image is dangling, that is an untagged image
149// without children.

Callers 3

removeRecursiveMethod · 0.95
filterReadOnlyFunction · 0.80
TestImageFunctionsFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestImageFunctionsFunction · 0.64