Skip to main content

file_referrers

Function file_referrers 

Source
pub async fn file_referrers(
    pool: &PgPool,
    actor: &Actor,
    revision_id: Uuid,
) -> AppResult<Vec<FileReferrer>>
Expand description

CAD files of the latest revisions of other items that reference one of the files of this revision (assemblies using the part file, drawings of it). Matches in groups the actor may not see are left out without a count: a file-name match is a heuristic and never crosses a restricted group’s boundary (unlike explicit links, which are counted).