(src: Path, dst: Path, symlinks=True, ignore=None)
| 191 | func(path) |
| 192 | |
| 193 | def _copytree(src: Path, dst: Path, symlinks=True, ignore=None): |
| 194 | if dst.exists(): |
| 195 | shutil.rmtree(dst, onerror=_on_rm_error) |
| 196 | shutil.copytree(src, dst, symlinks=symlinks, ignore=ignore) |
| 197 | |
| 198 | def _safe_copy(src: Path, dst: Path): |
| 199 | dst.parent.mkdir(parents=True, exist_ok=True) |
no outgoing calls
no test coverage detected