walker.d.ts 639 B

123456789101112131415161718
  1. import { ResultCallback, Options } from "../types";
  2. import { Output } from "../types";
  3. export declare class Walker<TOutput extends Output> {
  4. private readonly root;
  5. private readonly isSynchronous;
  6. private readonly state;
  7. private readonly joinPath;
  8. private readonly pushDirectory;
  9. private readonly pushFile;
  10. private readonly getArray;
  11. private readonly groupFiles;
  12. private readonly resolveSymlink;
  13. private readonly walkDirectory;
  14. private readonly callbackInvoker;
  15. constructor(root: string, options: Options, callback?: ResultCallback<TOutput>);
  16. start(): TOutput | null;
  17. private walk;
  18. }