mirror of
https://github.com/deployphp/action.git
synced 2024-11-27 06:09:01 +00:00
11 lines
473 B
TypeScript
11 lines
473 B
TypeScript
|
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[]>;
|
||
|
}
|