Module materialize

Module materialize 

Source
Expand description

State materialization from audit event sequences.

Replays an ordered sequence of audit events to reconstruct the latest known status of each entity. The resulting AuditState is used by the reconciliation engine to compare against file-on-disk state.

Structs§

AuditState
The materialized state: a map from entity keys to their last-known status.
EntityKey
Key for uniquely identifying an entity in the materialized state.

Functions§

materialize_state
Replay a sequence of events to build the materialized state.