www_hero/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts

16 lines
477 B
TypeScript
Raw Normal View History

2024-05-03 04:39:20 +00:00
import * as fsScandir from '@nodelib/fs.scandir';
import type { Entry } from '../types';
import Reader from './reader';
export default class SyncReader extends Reader {
protected readonly _scandir: typeof fsScandir.scandirSync;
private readonly _storage;
private readonly _queue;
read(): Entry[];
private _pushToQueue;
private _handleQueue;
private _handleDirectory;
private _handleError;
private _handleEntry;
private _pushToStorage;
}