aboutsummaryrefslogtreecommitdiff
path: root/node_modules/fast-glob/out/providers/reader-async.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/fast-glob/out/providers/reader-async.d.ts')
-rw-r--r--node_modules/fast-glob/out/providers/reader-async.d.ts28
1 files changed, 28 insertions, 0 deletions
diff --git a/node_modules/fast-glob/out/providers/reader-async.d.ts b/node_modules/fast-glob/out/providers/reader-async.d.ts
new file mode 100644
index 0000000..eacdee3
--- /dev/null
+++ b/node_modules/fast-glob/out/providers/reader-async.d.ts
@@ -0,0 +1,28 @@
+/// <reference types="node" />
+import * as readdir from '@mrmlnc/readdir-enhanced';
+import Reader from './reader';
+import FileSystemStream from '../adapters/fs-stream';
+import { ITask } from '../managers/tasks';
+import { EntryItem } from '../types/entries';
+export default class ReaderAsync extends Reader<Promise<EntryItem[]>> {
+ /**
+ * Returns FileSystem adapter.
+ */
+ readonly fsAdapter: FileSystemStream;
+ /**
+ * Use async API to read entries for Task.
+ */
+ read(task: ITask): Promise<EntryItem[]>;
+ /**
+ * Returns founded paths.
+ */
+ api(root: string, task: ITask, options: readdir.Options): NodeJS.ReadableStream;
+ /**
+ * Api for dynamic tasks.
+ */
+ dynamicApi(root: string, options: readdir.Options): NodeJS.ReadableStream;
+ /**
+ * Api for static tasks.
+ */
+ staticApi(task: ITask, options: readdir.Options): NodeJS.ReadableStream;
+}