vmind_dir_scan
Version:
A library to scan the file system based on a root folder. The library will scan recursively and send a callback for every file and directory it finds, including details such as age, name, path, and size.
13 lines • 431 B
TypeScript
import { EventEmitter } from "events";
export declare class FileSysScanHandler extends EventEmitter {
rootDir: string;
constructor(rootDir: string);
/**
* Iterative scan using a shared work queue and fixed worker concurrency.
*/
scanIterative(workerCount?: number, scan_params?: {
age: number;
mode: "days" | "seconds";
}): Promise<void>;
}
//# sourceMappingURL=fileSysHandler.d.ts.map