Skip to main content

Module filter

Module filter 

Source
Expand description

Per-task evaluation of the non-relational filters of QRY-003 and QRY-005.

The engine canonicalises every path pattern to its workspace-absolute form before intersecting, so the --inputs / --outputs predicates agree with DAG-013’s producer-matching semantics regardless of whether the user typed a workspace-absolute or project-relative atom.

Relational filters (--child-of etc.) need graph traversal and live in a sibling module.

Functions§

passes_non_relational
Evaluate every non-relational filter in spec against candidate. Returns Ok(true) iff the candidate satisfies every active filter (or no non-relational filter is set).