MCPcopy
hub / github.com/moby/moby / childrenHandler

Function childrenHandler

daemon/pkg/plugin/fetch_linux.go:151–161  ·  view source on GitHub ↗
(cs content.Store)

Source from the content-addressed store, hash-verified

149}
150
151func childrenHandler(cs content.Store) c8dimages.HandlerFunc {
152 ch := c8dimages.ChildrenHandler(cs)
153 return func(ctx context.Context, desc ocispec.Descriptor) ([]ocispec.Descriptor, error) {
154 switch desc.MediaType {
155 case mediaTypePluginConfig:
156 return nil, nil
157 default:
158 return ch(ctx, desc)
159 }
160 }
161}
162
163type fetchMeta struct {
164 blobs []digest.Digest

Callers 2

UpgradeMethod · 0.85
PullMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…