main
Last change
on this file since d565449 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
|
Rev | Line | |
---|
[d565449] | 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.