//! Status computation hooks for deterministic race tests.
use ;
static BEFORE_OPPORTUNISTIC_INDEX_WRITE: =
// hygiene: test-support status race hook
new;
/// Run `hook` immediately before an opportunistic index write in [`crate::porcelain::status::status`].
///
/// Pass `None` to clear. Only one hook is active process-wide; tests should not run in parallel
/// when a hook is set.
pub