compute_drift

Function compute_drift 

Source
pub fn compute_drift(
    audit_entities: &HashMap<EntityKey, String>,
    file_state: &FileState,
) -> Vec<Drift>
Expand description

Compare materialized audit state against file-on-disk state.

Returns a list of drift items. An empty list means the log and files agree.