Match: "all" | "dirs"

What matches the .gitignore pattern.

One of:

  • all - The pattern matches both files and directories.
  • dirs - The pattern matches only directories. This corresponds to patterns with trailing /.