MCPcopy Index your code
hub / github.com/python/mypy / delete_folder

Function delete_folder

misc/incremental_checker.py:63–65  ·  view source on GitHub ↗
(folder_path: str)

Source from the content-addressed store, hash-verified

61
62
63def delete_folder(folder_path: str) -> None:
64 if os.path.exists(folder_path):
65 shutil.rmtree(folder_path)
66
67
68def execute(command: list[str], fail_on_error: bool = True) -> tuple[str, str, int]:

Callers 2

cleanupFunction · 0.70

Calls 1

existsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…