Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_wrapper
Class · 0.85
fileno
Method · 0.80
add_channel
Method · 0.80
Tested by
no test coverage detected