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

Method IsIntermediate

libimage/image.go:169–171  ·  view source on GitHub ↗

IsIntermediate returns true if the image is an intermediate image, that is an untagged image with children.

(ctx context.Context)

Source from the content-addressed store, hash-verified

167// IsIntermediate returns true if the image is an intermediate image, that is
168// an untagged image with children.
169func (i *Image) IsIntermediate(ctx context.Context) (bool, error) {
170 return i.isIntermediate(ctx, nil)
171}
172
173// isIntermediate returns true if the image is an intermediate image, that is
174// an untagged image with children. If tree is nil, it will created for this

Callers 1

TestImageFunctionsFunction · 0.80

Calls 1

isIntermediateMethod · 0.95

Tested by 1

TestImageFunctionsFunction · 0.64