Skip to main content

head_matches

Function head_matches 

Source
pub fn head_matches(req: &Request, review_head: &str) -> bool
Expand description

Whether the forge still has the head this review was opened on. Both forges reject a comment against any other commit, so this is the first thing a publish checks and the batch is not built when it fails.