MCPcopy Create free account
hub / github.com/docker/docker-py / makefile

Method makefile

docker/transport/sshconn.py:83–88  ·  view source on GitHub ↗
(self, mode)

Source from the content-addressed store, hash-verified

81 return self.proc.stdout.read(n)
82
83 def makefile(self, mode):
84 if not self.proc:
85 self.connect()
86 self.proc.stdout.channel = self
87
88 return self.proc.stdout
89
90 def close(self):
91 if not self.proc or self.proc.stdin.closed:

Callers

nothing calls this directly

Calls 1

connectMethod · 0.95

Tested by

no test coverage detected