No Description

sync.d.ts 506B

123456789101112
  1. import * as fsStat from '@nodelib/fs.stat';
  2. import * as fsWalk from '@nodelib/fs.walk';
  3. import { Entry, Pattern, ReaderOptions } from '../types';
  4. import Reader from './reader';
  5. export default class ReaderSync extends Reader<Entry[]> {
  6. protected _walkSync: typeof fsWalk.walkSync;
  7. protected _statSync: typeof fsStat.statSync;
  8. dynamic(root: string, options: ReaderOptions): Entry[];
  9. static(patterns: Pattern[], options: ReaderOptions): Entry[];
  10. private _getEntry;
  11. private _getStat;
  12. }