Skip to main content

health_of

Function health_of 

Source
pub fn health_of(
    state: &SyncState,
    policy: &SyncPolicy,
    now: OffsetDateTime,
) -> Health
Expand description

Translate sync bookkeeping into the shared health model.

Deliberately not part of SyncState: what counts as healthy depends on the cadence, and only the policy knows that.