(src: Path, dst: Path)
| 32 | print(f"✅ Copied folder {src_dir} → {dst_dir}") |
| 33 | |
| 34 | def copytree_overwrite(src: Path, dst: Path): |
| 35 | if dst.exists(): |
| 36 | shutil.rmtree(dst) |
| 37 | shutil.copytree(src, dst) |
| 38 | |
| 39 | def safe_copy(src: Path, dst: Path): |
| 40 | dst.parent.mkdir(parents=True, exist_ok=True) |