UNPKG

fdir

Version:

The fastest directory crawler & globbing alternative to glob, fast-glob, & tiny-glob. Crawls 1m files in < 1s

6 lines (5 loc) 339 B
/// <reference types="node" /> import fs from "fs"; import { WalkerState, Options } from "../../types"; export type ResolveSymlinkFunction = (path: string, state: WalkerState, callback: (stat: fs.Stats, path: string) => void) => void; export declare function build(options: Options, isSynchronous: boolean): ResolveSymlinkFunction | null;