Skip to main content

gate_push

Function gate_push 

Source
pub fn gate_push(
    rule: Option<&Rule>,
    line: &str,
    cwd: Option<&str>,
) -> Option<Rule>
Expand description

The verdict the push gate makes of a line the rules asked about: None lets it run. Only an ask on a push is gated; every other verdict, and a line with no push, is the rule’s own. A cited pass is noted on the cited issue, so the record says which decision let it through.