Skip to main content

Module state

Module state 

Source
Expand description

The derived doc state of a page (C0 2.2 doc-states), never stored: fresh, noted (every derived anchor that moved is covered by an open note that accounted for exactly what is observed now) or stale.

Structs§

Drift
One moved anchor: its ref and the digest observed now (None: gone).
NoteCovers
One note about the page or one of its sections.
Verdict
The verdict with its reason and the derived refs no open note covers.

Enums§

DocState
A page’s state as a reader shows it.
StateReason
Why a page is not fresh.

Functions§

of
The doc state of a page from its anchor_state (fresh, to_verify, gone or absent), the refs of its derived anchors, its drift and the notes about it.

Type Aliases§

Cover
What a note accounted for: a ref at a digest (None: as gone).