MCPcopy
hub / github.com/python/mypy / cleanup

Method cleanup

mypy/ipc.py:328–332  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

326 self.close()
327
328 def cleanup(self) -> None:
329 if sys.platform == "win32":
330 self.close()
331 else:
332 shutil.rmtree(self.sock_directory)
333
334 @property
335 def connection_name(self) -> str:

Callers 4

serveMethod · 0.95
serverFunction · 0.95
mainFunction · 0.95

Calls 1

closeMethod · 0.45

Tested by 2

serverFunction · 0.76