mirror of
https://gh.wpcy.net/https://github.com/djav1985/v-wordpress-plugin-updater.git
synced 2026-04-25 04:12:14 +08:00
10 lines
473 B
TypeScript
10 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[]>;
|
|
}
|