MCPcopy Index your code
hub / github.com/docker/docker-py / recv

Method recv

docker/transport/sshconn.py:77–81  ·  view source on GitHub ↗
(self, n)

Source from the content-addressed store, hash-verified

75 return self._write(data)
76
77 def recv(self, n):
78 if not self.proc:
79 raise Exception('SSH subprocess not initiated.'
80 'connect() must be called first.')
81 return self.proc.stdout.read(n)
82
83 def makefile(self, mode):
84 if not self.proc:

Calls

no outgoing calls