(self)
| 249 | self.journal_path.unlink(missing_ok=True) |
| 250 | |
| 251 | def discard_best_effort(self) -> Exception | None: |
| 252 | try: |
| 253 | self.discard() |
| 254 | except Exception as exc: |
| 255 | logger.warning("Mutation journal cleanup failed: %s", exc) |
| 256 | return exc |
| 257 | return None |
| 258 | |
| 259 | |
| 260 | def _restore_hardlinked_dir(backup: Path, target: Path) -> None: |