MCPcopy
hub / github.com/containerd/containerd / Walk

Method Walk

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

Walk will call fn for each item in the content store which match the provided filters. If no filters are given all items will be walked.

(ctx context.Context, fn WalkFunc, filters ...string)

Source from the content-addressed store, hash-verified

137 // match the provided filters. If no filters are given all
138 // items will be walked.
139 Walk(ctx context.Context, fn WalkFunc, filters ...string) error
140
141 // Delete removes the content from the store.
142 Delete(ctx context.Context, dgst digest.Digest) error

Callers 15

remapRootFSFunction · 0.65
FuzzCSWalkFunction · 0.65
FuzzContentStoreFunction · 0.65
ListMethod · 0.65
cleanupWCOWLayersFunction · 0.65
newContentStoreFunction · 0.65
garbageCollectMethod · 0.65
createSnapshotMethod · 0.65
walkTreeMethod · 0.65
resolveLayersFunction · 0.65
StripLayersFunction · 0.65

Calls

no outgoing calls

Tested by 5

FuzzCSWalkFunction · 0.52
FuzzContentStoreFunction · 0.52
newContentStoreFunction · 0.52
TestWalkBlobsFunction · 0.52