MCPcopy Create free account
hub / github.com/FastLED/FastLED / mark_success

Method mark_success

ci/fingerprint/core.py:481–490  ·  view source on GitHub ↗

Mark processing as successful using the pre-computed fingerprint. Promotes the pending fingerprint (stored by ``check``) to the main cache.

(self)

Source from the content-addressed store, hash-verified

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."""

Calls 1

_run_zccacheFunction · 0.85