aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts
blob: 5829676df7e302e14b87edf2d99c04b58384d0af (plain)
1
2
3
4
5
6
7
/// <reference types="node" />
import type Settings from '../settings';
import type { Entry } from '../types';
export declare type AsyncCallback = (error: NodeJS.ErrnoException, entries: Entry[]) => void;
export declare function read(directory: string, settings: Settings, callback: AsyncCallback): void;
export declare function readdirWithFileTypes(directory: string, settings: Settings, callback: AsyncCallback): void;
export declare function readdir(directory: string, settings: Settings, callback: AsyncCallback): void;