Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ cleanup
Method
cleanup
tools/python-3.11.9-amd64/Lib/tempfile.py:945–947 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
943
self.cleanup()
944
945
def
cleanup(self):
946
if
self._finalizer.detach() or _os.path.exists(self.name):
947
self._rmtree(self.name, ignore_errors=self._ignore_cleanup_errors)
948
949
__class_getitem__ = classmethod(_types.GenericAlias)
Callers
1
__exit__
Method · 0.95
Calls
3
_rmtree
Method · 0.95
detach
Method · 0.45
exists
Method · 0.45
Tested by
no test coverage detected