(path: Path)
| 274 | """ |
| 275 | |
| 276 | def _file_key(path: Path) -> tuple[int, int]: |
| 277 | st = path.stat() # follows symlinks; these trees hold regular files only |
| 278 | return (st.st_dev, st.st_ino) |
| 279 | |
| 280 | backup_files = {p.relative_to(backup): p for p in backup.rglob("*") if p.is_file()} |
| 281 |
no outgoing calls
no test coverage detected