MCPcopy Index your code
hub / github.com/docker/docker-agent / contextWithExternalDepth

Function contextWithExternalDepth

pkg/teamloader/teamloader.go:990–992  ·  view source on GitHub ↗
(ctx context.Context, depth int)

Source from the content-addressed store, hash-verified

988}
989
990func contextWithExternalDepth(ctx context.Context, depth int) context.Context {
991 return context.WithValue(ctx, externalDepthKey, depth)
992}

Callers 2

loadExternalAgentFunction · 0.85
TestExternalDepthContextFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestExternalDepthContextFunction · 0.68