CodeOwnersDialect Enum

Specifies which CODEOWNERS syntax a file uses.

public enum CodeOwnersDialect

Fields

NameValueDescription
GitHub0The syntax supported by GitHub: a pattern followed by its owners, with no sections. A line starting with [ is a pattern, since [ opens a character class in gitignore-style patterns.
GitLab1The syntax supported by GitLab, which adds sections on top of the GitHub syntax: [Name], ^[Name] for an optional section, [Name][2] to declare a reviewer count, and default owners written after the section name.