Find files and directories matching a pattern.
glob(
pattern: string,
path: string,
options: GlobOptions = {}
): Promise<GlobResult>| Name | Type | Description |
|---|---|---|
pattern* | string | Match against each entry's path relative to |
path* | string | Absolute path of the directory to search under. |
options | GlobOptions | Default: {}Result cap and request options. |