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

Method Size

libimage/image.go:767–769  ·  view source on GitHub ↗

Size computes the size of the image layers and associated data.

()

Source from the content-addressed store, hash-verified

765
766// Size computes the size of the image layers and associated data.
767func (i *Image) Size() (int64, error) {
768 return i.runtime.store.ImageSize(i.ID())
769}
770
771// HasDifferentDigestOptions allows for customizing the check if another
772// (remote) image has a different digest.

Callers 10

InspectMethod · 0.95
removeRecursiveMethod · 0.95
TreeMethod · 0.95
TestGetRandomIPv6SubnetFunction · 0.80
NextSubnetFunction · 0.80
LastIPInSubnetFunction · 0.80
FirstIPInSubnetFunction · 0.80
TestImageFunctionsFunction · 0.80
diskUsageForImageFunction · 0.80
CreateFunction · 0.80

Calls 1

IDMethod · 0.95

Tested by 2

TestGetRandomIPv6SubnetFunction · 0.64
TestImageFunctionsFunction · 0.64