- globSync(pattern: string | string[]): string[]
Parameters
- pattern: string | string[]
Returns string[]
- globSync(
pattern: string | string[],
options: GlobOptionsWithFileTypes,
): Dirent[] Parameters
- pattern: string | string[]
- options: GlobOptionsWithFileTypes
- globSync(
pattern: string | string[],
options: GlobOptionsWithoutFileTypes,
): string[] Parameters
- pattern: string | string[]
- options: GlobOptionsWithoutFileTypes
Returns string[]
- globSync(pattern: string | string[], options: GlobOptions): Dirent[] | string[]
Parameters
- pattern: string | string[]
- options: GlobOptions
Returns Dirent[] | string[]
Retrieves the files matching the specified pattern.