file-utils.d.ts 453 B

1234567
  1. /// <reference types="node" />
  2. export declare function isExe(path: string): Promise<boolean>;
  3. export declare function isExists(path: string): Promise<boolean>;
  4. export declare function createDirIfNotExists(path: string): Promise<void>;
  5. export declare function isFile(path: string): Promise<boolean>;
  6. export declare function isArchive(path: string): Promise<boolean>;
  7. export declare function saveFile(dataBuffer: Buffer, savePath: string): Promise<void>;