Skip to main content

render_codeowners

Function render_codeowners 

Source
pub fn render_codeowners(
    community_rules: &str,
    paths: &[String],
    logins: &[String],
) -> String
Expand description

A CODEOWNERS file: community_rules (the file’s own rules, the managed block removed), then the managed block last, so it wins for paths (the last matching pattern takes precedence). logins are resolved from numeric ids at run time.