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

Method wait

core/diff/stream_windows.go:134–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132}
133
134func (c *binaryProcessor) wait() {
135 if err := c.cmd.Wait(); err != nil {
136 if _, ok := err.(*exec.ExitError); ok {
137 c.mu.Lock()
138 c.err = errors.New(c.stderr.String())
139 c.mu.Unlock()
140 }
141 }
142 close(c.done)
143}
144
145func (c *binaryProcessor) Wait(ctx context.Context) error {
146 select {

Callers 1

NewBinaryProcessorFunction · 0.95

Calls 4

WaitMethod · 0.65
LockMethod · 0.65
UnlockMethod · 0.65
StringMethod · 0.45

Tested by

no test coverage detected