source: trip-planner-front/node_modules/@nodelib/fs.walk/out/index.d.ts@ eed0bf8

Last change on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1019 bytes
Line 
1/// <reference types="node" />
2import type { Readable } from 'stream';
3import type { Dirent, FileSystemAdapter } from '@nodelib/fs.scandir';
4import { AsyncCallback } from './providers/async';
5import Settings, { DeepFilterFunction, EntryFilterFunction, ErrorFilterFunction, Options } from './settings';
6import type { Entry } from './types';
7declare function walk(directory: string, callback: AsyncCallback): void;
8declare function walk(directory: string, optionsOrSettings: Options | Settings, callback: AsyncCallback): void;
9declare namespace walk {
10 function __promisify__(directory: string, optionsOrSettings?: Options | Settings): Promise<Entry[]>;
11}
12declare function walkSync(directory: string, optionsOrSettings?: Options | Settings): Entry[];
13declare function walkStream(directory: string, optionsOrSettings?: Options | Settings): Readable;
14export { walk, walkSync, walkStream, Settings, AsyncCallback, Dirent, Entry, FileSystemAdapter, Options, DeepFilterFunction, EntryFilterFunction, ErrorFilterFunction };
Note: See TracBrowser for help on using the repository browser.