MCPcopy
hub / github.com/containerd/containerd / Recv

Method Recv

core/streaming/proxy/streaming.go:119–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117}
118
119func (cs *clientStream) Recv() (a typeurl.Any, err error) {
120 a, err = cs.s.Recv()
121 if !errors.Is(err, io.EOF) {
122 err = errgrpc.ToNative(err)
123 }
124 return
125}
126
127func (cs *clientStream) Close() error {
128 return cs.s.CloseSend()

Callers

nothing calls this directly

Calls 1

RecvMethod · 0.65

Tested by

no test coverage detected