![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/dceprojects.corals.io/node_modules/fast-glob/out/providers/ |
/// <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; }