Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
168
type
Syncer
interface
{
Callers
15
createImgFile
Function · 0.65
createTempFile
Function · 0.65
initalizeBlockDevice
Function · 0.65
Transform
Method · 0.65
Truncate
Method · 0.65
Truncate
Method · 0.65
discardWriter
Function · 0.65
checkCommitErrorState
Function · 0.65
resumeTruncate
Function · 0.65
compressBlob
Function · 0.65
LayerConvertFunc
Function · 0.65
LayerConvertFunc
Function · 0.65
Implementers
5
pushWriter
core/remotes/docker/pusher.go
namespacedWriter
core/metadata/content.go
fakeWriter
core/content/helpers_test.go
remoteWriter
core/content/proxy/content_writer.go
writer
plugins/content/local/writer.go
Calls
no outgoing calls
Tested by
9
createImgFile
Function · 0.52
createTempFile
Function · 0.52
initalizeBlockDevice
Function · 0.52
Truncate
Method · 0.52
createLoopbackDevice
Function · 0.52
createLoopbackDevice
Function · 0.52
createLoopbackDevice
Function · 0.52
setupSnapshotter
Function · 0.52
TestWriterTruncateRecoversFromIncompleteWrite
Function · 0.52