MCPcopy
hub / github.com/containerd/containerd / Truncate

Method Truncate

core/content/content.go:165–165  ·  view source on GitHub ↗

Truncate updates the size of the target blob

(size int64)

Source from the content-addressed store, hash-verified

163
164 // Truncate updates the size of the target blob
165 Truncate(size int64) error
166}
167
168type Syncer interface {

Callers 15

createImgFileFunction · 0.65
createTempFileFunction · 0.65
initalizeBlockDeviceFunction · 0.65
TransformMethod · 0.65
TruncateMethod · 0.65
TruncateMethod · 0.65
discardWriterFunction · 0.65
checkCommitErrorStateFunction · 0.65
resumeTruncateFunction · 0.65
compressBlobFunction · 0.65
LayerConvertFuncFunction · 0.65
LayerConvertFuncFunction · 0.65

Implementers 5

pushWritercore/remotes/docker/pusher.go
namespacedWritercore/metadata/content.go
fakeWritercore/content/helpers_test.go
remoteWritercore/content/proxy/content_writer.go
writerplugins/content/local/writer.go

Calls

no outgoing calls

Tested by 9

createImgFileFunction · 0.52
createTempFileFunction · 0.52
initalizeBlockDeviceFunction · 0.52
TruncateMethod · 0.52
createLoopbackDeviceFunction · 0.52
createLoopbackDeviceFunction · 0.52
createLoopbackDeviceFunction · 0.52
setupSnapshotterFunction · 0.52