function glob
Jump to headingglob(pattern: string | string[],callback: (err: ErrnoException | null,matches: string[],) => void,): void
Retrieves the files matching the specified pattern.
Parameters Jump to heading
Jump to headingpattern: string | string[]
Jump to headingcallback: (err: ErrnoException | null,matches: string[],) => void
Return Type Jump to heading
void
Jump to headingglob(pattern: string | string[],options: GlobOptionsWithFileTypes,callback: (err: ErrnoException | null,matches: Dirent[],) => void,): void
Parameters Jump to heading
Jump to headingpattern: string | string[]
Jump to headingcallback: (err: ErrnoException | null,matches: Dirent[],) => void
Return Type Jump to heading
void
Jump to headingglob(pattern: string | string[],options: GlobOptionsWithoutFileTypes,callback: (err: ErrnoException | null,matches: string[],) => void,): void
Parameters Jump to heading
Jump to headingpattern: string | string[]
Jump to headingcallback: (err: ErrnoException | null,matches: string[],) => void
Return Type Jump to heading
void
Jump to headingglob(pattern: string | string[],options: GlobOptions,callback: (err: ErrnoException | null,matches: Dirent[] | string[],) => void,): void
Parameters Jump to heading
Jump to headingpattern: string | string[]
Jump to headingoptions: GlobOptions
Jump to headingcallback: (err: ErrnoException | null,matches: Dirent[] | string[],) => void
Return Type Jump to heading
void