MCPcopy
hub / github.com/containerd/containerd / WithRef

Function WithRef

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

WithRef specifies a ref string.

(ref string)

Source from the content-addressed store, hash-verified

210
211// WithRef specifies a ref string.
212func WithRef(ref string) WriterOpt {
213 return func(opts *WriterOpts) error {
214 opts.Ref = ref
215 return nil
216 }
217}

Callers 15

writeContentFunction · 0.92
FuzzContentStoreFunction · 0.92
FetchFunction · 0.92
pushFunction · 0.92
tryUploadFunction · 0.92
createFunction · 0.92
WriterMethod · 0.92
createAndCopyMethod · 0.92
TestContentLeasedFunction · 0.92
TestIngestLeasedFunction · 0.92

Calls

no outgoing calls

Tested by 13

FuzzContentStoreFunction · 0.74
tryUploadFunction · 0.74
createFunction · 0.74
TestContentLeasedFunction · 0.74
TestIngestLeasedFunction · 0.74
FuzzContentStoreWriterFunction · 0.74
TestContentWriterFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…