Function orphaned_relation_annotations

Source
pub fn orphaned_relation_annotations(
    catalog: &Catalog,
    sources: &Sources,
    user: &UserData,
) -> Vec<Issue>
Expand description

Personal relationship annotations whose edge is absent from the current graph.

They are kept rather than deleted: a disconnected drive, a rejected source claim, or a later rescan can make the relationship visible again. Account-specific callers must first scope the supplied relationship annotations to their owner; this generic helper does not select one.