source: imaps-frontend/node_modules/@nodelib/fs.walk/out/index.d.ts

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 1019 bytes
RevLine 
[d565449]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.