Skip to main content

resolve

Function resolve 

Source
pub async fn resolve(
    pool: &PgPool,
    actor: &Actor,
    root_revision_id: Uuid,
    rule: RevisionRule,
    with_references: bool,
) -> AppResult<Workset>
Expand description

Resolves the working set below a revision.

The BOM is read level by level (bom::load_structure, one query per BOM level) and walked without expanding shared sub-assemblies again; each round of CAD references takes three queries (names, holders, their revisions under the rule), whatever the number of files.