Skip to main content

parse_codeowners

Function parse_codeowners 

Source
pub fn parse_codeowners(content: &str) -> Vec<OwnerRule>
Expand description

Parse CODEOWNERS content into (pattern, owners) rules. Ignores comments (#) and blank lines; a valid line is <pattern> <owner...> with ≥1 owner.