Mark processing as successful using the pre-computed fingerprint. Promotes the pending fingerprint (stored by ``check``) to the main cache.
(self)
| 479 | return result.returncode != 1 |
| 480 | |
| 481 | def mark_success(self) -> None: |
| 482 | """ |
| 483 | Mark processing as successful using the pre-computed fingerprint. |
| 484 | |
| 485 | Promotes the pending fingerprint (stored by ``check``) to the main cache. |
| 486 | """ |
| 487 | _run_zccache( |
| 488 | ["--cache-file", str(self.cache_file), "mark-success"], |
| 489 | check=True, |
| 490 | ) |
| 491 | |
| 492 | def mark_failure(self) -> None: |
| 493 | """Mark the previous check as failed, forcing re-run next time.""" |