(target_path: Path)
| 215 | |
| 216 | |
| 217 | def _cleanup_local_plugin_target(target_path: Path) -> None: |
| 218 | if target_path.is_symlink() or target_path.is_file(): |
| 219 | target_path.unlink(missing_ok=True) |
| 220 | elif target_path.exists(): |
| 221 | shutil.rmtree(target_path, ignore_errors=True) |
| 222 | |
| 223 | |
| 224 | def _copy_local_plugin(source_path: Path, plugins_dir: Path, target_path: Path) -> None: |
no outgoing calls
no test coverage detected