Last change
on this file 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" />
|
---|
2 | import type { Readable } from 'stream';
|
---|
3 | import type { Dirent, FileSystemAdapter } from '@nodelib/fs.scandir';
|
---|
4 | import { AsyncCallback } from './providers/async';
|
---|
5 | import Settings, { DeepFilterFunction, EntryFilterFunction, ErrorFilterFunction, Options } from './settings';
|
---|
6 | import type { Entry } from './types';
|
---|
7 | declare function walk(directory: string, callback: AsyncCallback): void;
|
---|
8 | declare function walk(directory: string, optionsOrSettings: Options | Settings, callback: AsyncCallback): void;
|
---|
9 | declare namespace walk {
|
---|
10 | function __promisify__(directory: string, optionsOrSettings?: Options | Settings): Promise<Entry[]>;
|
---|
11 | }
|
---|
12 | declare function walkSync(directory: string, optionsOrSettings?: Options | Settings): Entry[];
|
---|
13 | declare function walkStream(directory: string, optionsOrSettings?: Options | Settings): Readable;
|
---|
14 | export { walk, walkSync, walkStream, Settings, AsyncCallback, Dirent, Entry, FileSystemAdapter, Options, DeepFilterFunction, EntryFilterFunction, ErrorFilterFunction };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.