Returns the search path preceding the first glob segment, from each pattern. Duplicates and descendants of other paths are filtered out.
Returns files and directories matching the glob patterns.