Test whether path matches a glob pattern.
Supports:
** — any number of directory levels* — within a single path segment{a,b} — brace expansionUses micromatch with dot: true so dotfiles are matched by default.
globMatch(path: string, pattern: string): boolean| Name | Type | Description |
|---|---|---|
path* | string | |
pattern* | string |