MCPcopy
hub / github.com/containerd/containerd / Size

Method Size

client/image.go:55–55  ·  view source on GitHub ↗

Size returns the total size of the image's packed resources.

(ctx context.Context)

Source from the content-addressed store, hash-verified

53 RootFS(ctx context.Context) ([]digest.Digest, error)
54 // Size returns the total size of the image's packed resources.
55 Size(ctx context.Context) (int64, error)
56 // Usage returns a usage calculation for the image.
57 Usage(context.Context, ...UsageOpt) (int64, error)
58 // Config descriptor for the image.

Callers 15

PullImageMethod · 0.95
getFileSizeFunction · 0.65
newContainerFunction · 0.65
countLinesFunction · 0.65
DumpDirFunction · 0.65
asciiCIDRFunction · 0.65
initPanicFileFunction · 0.65
removePanicFileFunction · 0.65
checkBinarySizesFunction · 0.65
shim.goFile · 0.65
HandleConsoleResizeFunction · 0.65
HandleConsoleResizeFunction · 0.65

Implementers 1

imageclient/image.go

Calls

no outgoing calls

Tested by 3

getFileSizeFunction · 0.52
newContainerFunction · 0.52