MCPcopy Index your code
hub / github.com/containerd/containerd / contextError

Function contextError

internal/cleanup/context_test.go:93–100  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

91}
92
93func contextError(ctx context.Context) error {
94 select {
95 case <-ctx.Done():
96 return ctx.Err()
97 default:
98 return nil
99 }
100}

Callers 1

TestDoFunction · 0.85

Calls 2

DoneMethod · 0.65
ErrMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…