lunaisadev-website-old/node_modules/fast-glob/out/readers/stream.d.ts

15 lines
580 B
TypeScript
Raw Normal View History

2021-07-28 01:40:12 +00:00
/// <reference types="node" />
import { Readable } from 'stream';
import * as fsStat from '@nodelib/fs.stat';
import * as fsWalk from '@nodelib/fs.walk';
import { Pattern, ReaderOptions } from '../types';
import Reader from './reader';
export default class ReaderStream extends Reader<Readable> {
protected _walkStream: typeof fsWalk.walkStream;
protected _stat: typeof fsStat.stat;
dynamic(root: string, options: ReaderOptions): Readable;
static(patterns: Pattern[], options: ReaderOptions): Readable;
private _getEntry;
private _getStat;
}