FglobSync
Bun

function

fs.globSync

function globSync(
pattern: string | string[]
): string[];

Retrieves the files matching the specified pattern.

function globSync(
pattern: string | string[],
): Dirent[];

Retrieves the files matching the specified pattern.

function globSync(
pattern: string | string[],
): string[];

Retrieves the files matching the specified pattern.

function globSync(
pattern: string | string[],
options: GlobOptions
): string[] | Dirent[];

Retrieves the files matching the specified pattern.