Skip to main content

record_structure

Function record_structure 

Source
pub async fn record_structure(
    pool: &PgPool,
    ctx: &AccessCtx,
    actor: &Actor,
    kind: Kind,
    revision_ids: &[Uuid],
) -> AppResult<()>
Expand description

Logs the read of a whole structure (Pack and Go, BOM export): one entry per group of the structure that logs, labelled with the first revision of that group. revision_ids holds the root and every revision of the tree.