MCPcopy
hub / github.com/containerd/containerd / clone

Method clone

core/remotes/docker/resolver.go:610–614  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

608}
609
610func (r *request) clone() *request {
611 res := *r
612 res.header = r.header.Clone()
613 return &res
614}
615
616func (r *request) do(ctx context.Context) (*http.Response, error) {
617 req, err := http.NewRequestWithContext(ctx, r.method, r.String(), nil)

Callers 1

openMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected