This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
keksAccountGUI/node_modulesOLD/fast-glob/package/out/providers/reader-async.d.ts

29 lines
939 B
TypeScript
Raw Permalink Normal View History

2019-08-11 18:48:02 +00:00
/// <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;
}