MCPcopy Index your code
hub / github.com/python/cpython / delete_path

Function delete_path

Platforms/Apple/__main__.py:156–161  ·  view source on GitHub ↗

Delete the named cross-build directory, if it exists.

(name: str)

Source from the content-addressed store, hash-verified

154
155
156def delete_path(name: str) -> None:
157 """Delete the named cross-build directory, if it exists."""
158 path = CROSS_BUILD_DIR / name
159 if path.exists():
160 print(f"Deleting {path} ...")
161 shutil.rmtree(path)
162
163
164def all_host_triples(platform: str) -> list[str]:

Callers 1

cleanFunction · 0.85

Calls 1

existsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…