Skip to main content

evaluate

Function evaluate 

Source
pub fn evaluate(old: &str, new: &str, ext: &str) -> GateOutcome
Expand description

Evaluate the gate for an edit from oldnew source in a file with ext, using the active [code_health] config (threshold + mode).