work.suroh.tk/node_modules/fast-glob/out/readers/stream.d.ts

14 lines
583 B
TypeScript

/// <reference types="node" />
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<NodeJS.ReadableStream> {
protected _walkStream: typeof fsWalk.walkStream;
protected _stat: typeof fsStat.stat;
dynamic(root: string, options: ReaderOptions): NodeJS.ReadableStream;
static(patterns: Pattern[], options: ReaderOptions): NodeJS.ReadableStream;
private _getEntry;
private _getStat;
}