Skip to main content

globSync

function globSync
Jump to headingglobSync(pattern: string | string[]): string[]

Retrieves the files matching the specified pattern.

Parameters Jump to heading

Jump to headingpattern: string | string[]

Return Type Jump to heading

string[]
Jump to headingglobSync(
pattern: string | string[],
): Dirent[]
Jump to headingglobSync(
pattern: string | string[],
): string[]

Parameters Jump to heading

Return Type Jump to heading

string[]
Jump to headingglobSync(
pattern: string | string[],
options: GlobOptions,
): Dirent[] | string[]

Parameters Jump to heading

Jump to headingpattern: string | string[]

Return Type Jump to heading

Dirent[] | string[]
Back to top