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

Method wait

core/diff/stream_unix.go:126–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

124}
125
126func (c *binaryProcessor) wait() {
127 if err := c.cmd.Wait(); err != nil {
128 if _, ok := err.(*exec.ExitError); ok {
129 c.mu.Lock()
130 c.err = errors.New(c.stderr.String())
131 c.mu.Unlock()
132 }
133 }
134 close(c.done)
135}
136
137func (c *binaryProcessor) Wait(ctx context.Context) error {
138 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