You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
580 B

2 years ago
  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. }