mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-11-29 10:55:21 +01:00
15 lines
No EOL
1 KiB
TypeScript
15 lines
No EOL
1 KiB
TypeScript
/// <reference types="node" />
|
|
import { Readable } from 'stream';
|
|
import { Dirent, FileSystemAdapter } from '@nodelib/fs.scandir';
|
|
import { AsyncCallback } from './providers/async';
|
|
import Settings, { DeepFilterFunction, EntryFilterFunction, ErrorFilterFunction, Options } from './settings';
|
|
import { Entry } from './types';
|
|
declare function walk(directory: string, callback: AsyncCallback): void;
|
|
declare function walk(directory: string, optionsOrSettings: Options | Settings, callback: AsyncCallback): void;
|
|
declare namespace walk {
|
|
function __promisify__(directory: string, optionsOrSettings?: Options | Settings): Promise<Entry[]>;
|
|
}
|
|
declare function walkSync(directory: string, optionsOrSettings?: Options | Settings): Entry[];
|
|
declare function walkStream(directory: string, optionsOrSettings?: Options | Settings): Readable;
|
|
export { walk, walkSync, walkStream, Settings, AsyncCallback, Dirent, Entry, FileSystemAdapter, Options, DeepFilterFunction, EntryFilterFunction, ErrorFilterFunction };
|
|
//# sourceMappingURL=index.d.ts.map
|