Expand description
Conditional rule evaluation — when clauses for context-aware rules.
Structs§
- Match
Context - Runtime context for evaluating rule conditions.
Enums§
- Condition
- A single condition that must be true for a rule to apply.
Functions§
- detect_
git_ branch - Detect the current git branch from a working directory.
- evaluate_
all - Evaluate all conditions (AND). Returns true if all pass or list is empty.
- parse_
conditions - Parse a TOML
whenvalue into a list of conditions.