Add additional examples for Adding Rules in the Code Owners documentation

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Documentation (User)
    • None
    • 0
    • 1

      In the current documentation for Code Owners, which uses Ant path matching when adding rules, we have added examples with double asterisks (**). However, it would be good to have examples of how the matching works when the rules are added with a single asterisk ( * )

      Example:

      Double Asterisk (**):

      • Matches all files and directories at any level within the repository.
      • This is a recursive match, meaning it includes all files in all directories, no matter how deeply nested.
      • Example: It would match file.txtsrc/file.txtsrc/components/file.txt, and any other files, regardless of their location in the directory structure.

      Single Asterisk ( * ):

      • Matches all files in the root directory of the repository.
      • It does not match files in subdirectories or the subdirectories themselves.
      • Example: It would match file.txt in the root directory but not src/file.txt or src/components/file.txt.

            Assignee:
            Unassigned
            Reporter:
            Nikhil Kapoor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: