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