Skip to main content

rules_hash

Function rules_hash 

Source
pub fn rules_hash(rules: &[Rule]) -> String
Expand description

Compute a stable hash of the active rules by sorting their ids and hashing the concatenated id list together with each rule’s YAML-serialized body.