Skip to main content

matches_branch

Function matches_branch 

Source
fn matches_branch(rule_name: &str, branch: &str) -> bool
Expand description

Mirrors Match in Forgejo models/git/protected_branch.go: plain names compare case-insensitively, globs case-sensitively.