stream.d.ts 580 B

1234567891011121314
  1. /// <reference types="node" />
  2. import { Readable } from 'stream';
  3. import * as fsStat from '@nodelib/fs.stat';
  4. import * as fsWalk from '@nodelib/fs.walk';
  5. import { Pattern, ReaderOptions } from '../types';
  6. import Reader from './reader';
  7. export default class ReaderStream extends Reader<Readable> {
  8. protected _walkStream: typeof fsWalk.walkStream;
  9. protected _stat: typeof fsStat.stat;
  10. dynamic(root: string, options: ReaderOptions): Readable;
  11. static(patterns: Pattern[], options: ReaderOptions): Readable;
  12. private _getEntry;
  13. private _getStat;
  14. }