@nodelib/fs.walk
Version:
A library for efficiently walking a directory recursively
12 lines (11 loc) • 379 B
TypeScript
import type { IFileSystemAdapter } from '../adapters/fs';
import type { Settings } from '../settings';
import type { Entry } from '../types';
export interface ISyncReader {
read: (root: string) => Entry[];
}
export declare class SyncReader implements ISyncReader {
#private;
constructor(fs: IFileSystemAdapter, settings: Settings);
read(root: string): Entry[];
}