UNPKG

@kp-mods/fs.walk

Version:

A library for efficiently walking a directory recursively

13 lines (12 loc) 521 B
import type { AsyncCallback, Settings, Entry } from '@kp-mods/fs.scandir'; type ScandirAsynchronousMethod = (root: string, settings: Settings, callback: AsyncCallback) => void; type ScnadirSynchronousMethod = (root: string, settings: Settings) => Entry[]; export interface IFileSystemAdapter { scandir: ScandirAsynchronousMethod; scandirSync: ScnadirSynchronousMethod; } export declare class FileSystemAdapter implements IFileSystemAdapter { readonly scandir: any; readonly scandirSync: any; } export {};