You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
473 B
11 lines
473 B
import * as fsWalk from '@nodelib/fs.walk';
|
|
import { Entry, ReaderOptions, Pattern } from '../types';
|
|
import Reader from './reader';
|
|
import ReaderStream from './stream';
|
|
export default class ReaderAsync extends Reader<Promise<Entry[]>> {
|
|
protected _walkAsync: typeof fsWalk.walk;
|
|
protected _readerStream: ReaderStream;
|
|
dynamic(root: string, options: ReaderOptions): Promise<Entry[]>;
|
|
static(patterns: Pattern[], options: ReaderOptions): Promise<Entry[]>;
|
|
}
|