(
# Callable[..., Any], str, , object
remove_path: Callable[..., Any],
path_str: str,
excinfo: tuple[type[BaseException], BaseException, TracebackType],
)
| 85 | |
| 86 | |
| 87 | def force_rm_handle( |
| 88 | # Callable[..., Any], str, , object |
| 89 | remove_path: Callable[..., Any], |
| 90 | path_str: str, |
| 91 | excinfo: tuple[type[BaseException], BaseException, TracebackType], |
| 92 | ) -> None: |
| 93 | path = Path(path_str) |
| 94 | path.chmod(path.stat().st_mode | stat.S_IWUSR | stat.S_IWGRP | stat.S_IWOTH) |
| 95 | remove_path(path) |
| 96 | |
| 97 | |
| 98 | def rmtree(path: str | Path) -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…