Add directory filtering to globber (#728)

Co-authored-by: Thomas Boop <[email protected]>
This commit is contained in:
Matisse Hack
2021-06-01 15:57:03 -04:00
committed by GitHub
co-authored by Thomas Boop
parent 51dc07a106
commit 439eaced07
4 changed files with 60 additions and 1 deletions
@@ -21,6 +21,14 @@ export interface GlobOptions {
*/
implicitDescendants?: boolean
/**
* Indicates whether matching directories should be included in the
* result set.
*
* @default true
*/
matchDirectories?: boolean
/**
* Indicates whether broken symbolic should be ignored and omitted from the
* result set. Otherwise an error will be thrown.