Skip to main content

rules

Function rules 

Source
pub fn rules() -> Vec<RuleDef>
Expand description

Every rule this module declares, in creation order.

Exported so a test — or a store built some other way — can recreate exactly the rule set these props expect. ensure_rules_and_fulltext creates an about_<label> rule only when its destination label is present in the graph; every other rule here is unconditional. The about_<label> and concept_sources definitions themselves come from core_api::repograph::rules, which remember also builds them from — one definition, so a note written by remember and one backfilled by a sync agree on exactly the same rule.