Skip to main content

add

Function add 

Source
pub fn add(root: &Path, rules: &[String]) -> Result<RulesOutcome>
Expand description

Appends each rule that is not in the file yet, creating the file when needed. With no rules to add it only reads.