Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pex-tool/pex
/ safe_remove
Method
safe_remove
testing/pytest_utils/tmp.py:51–55 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
49
return
os.path.join(self.path, *components)
50
51
def
safe_remove(self):
52
# type: () -> None
53
if
self.symlink:
54
safe_delete(self.symlink)
55
safe_rmtree(self.path)
56
57
def
__str__(self):
58
# type: () -> str
Callers
1
tmpdir
Function · 0.80
Calls
2
safe_delete
Function · 0.90
safe_rmtree
Function · 0.90
Tested by
1
tmpdir
Function · 0.64