(path: Path, backup_dir: Path)
| 64 | |
| 65 | |
| 66 | def _backup_file(path: Path, backup_dir: Path) -> None: |
| 67 | backup_dir.mkdir(parents=True, exist_ok=True) |
| 68 | shutil.copy2(path, backup_dir / path.name) |
| 69 | |
| 70 | |
| 71 | def repair_sidecars(sessions_dir: Path, backup_dir: Path | None = None, dry_run: bool = False) -> dict[str, Any]: |
no outgoing calls
no test coverage detected