matchLeadingDirectories

If a pattern should match if it matches a parent directory, as defined by pathSeparator.

Pattern+Options.swift:52
var matchLeadingDirectories: Bool

Ignore a trailing sequence of characters starting with a / in string; that is to say, test whether string starts with a directory name that pattern matches. If this flag is set, either foo* or foobar as a pattern would match the string foobar/frobozz. Equivalent to FNM_LEADING_DIR.`

If pathSeparator is nil this has no effect.