CodeOwnersDialect Enum
Specifies which CODEOWNERS syntax a file uses.
public enum CodeOwnersDialectFields
| Name | Value | Description |
|---|---|---|
GitHub | 0 | The 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. |
GitLab | 1 | The 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. |