MCPcopy Create free account
hub / github.com/Bitmessage/PyBitmessage / set_file

Method set_file

src/network/asyncore_pollchoose.py:941–944  ·  view source on GitHub ↗
(self, fd)

Source from the content-addressed store, hash-verified

939 fcntl.fcntl(fd, fcntl.F_SETFL, flags)
940
941 def set_file(self, fd):
942 self.socket = file_wrapper(fd)
943 self._fileno = self.socket.fileno()
944 self.add_channel()

Callers 1

__init__Method · 0.95

Calls 3

file_wrapperClass · 0.85
filenoMethod · 0.80
add_channelMethod · 0.80

Tested by

no test coverage detected