MCPcopy
hub / github.com/shadowsocks/shadowsocks / modify

Method modify

shadowsocks/eventloop.py:98–100  ·  view source on GitHub ↗
(self, fd, mode)

Source from the content-addressed store, hash-verified

96 del self._fds[fd]
97
98 def modify(self, fd, mode):
99 self.unregister(fd)
100 self.register(fd, mode)
101
102 def close(self):
103 self._kqueue.close()

Callers

nothing calls this directly

Calls 2

unregisterMethod · 0.95
registerMethod · 0.95

Tested by

no test coverage detected