Laptop-Thing/web/node_modules/fdir/dist/api/functions/walk-directory.d.ts
2024-11-27 12:35:48 -05:00

6 lines
376 B
TypeScript

/// <reference types="node" />
import { WalkerState } from "../../types";
import fs from "fs";
export type WalkDirectoryFunction = (state: WalkerState, crawlPath: string, directoryPath: string, depth: number, callback: (entries: fs.Dirent[], directoryPath: string, depth: number) => void) => void;
export declare function build(isSynchronous: boolean): WalkDirectoryFunction;