UNPKG

wave-engine

Version:

[![MIT License](https://img.shields.io/badge/license-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Latest Release](https://img.shields.io/npm/v/wave-engine.svg)](https://www.npmjs.com/package/wave-engine)

9 lines (8 loc) 1.1 kB
/// <reference types="node" /> export declare function incrementFileOrFolderName(destPath: string): Promise<string>; export declare function _copyFile(srcPath: string, destPath: string, progressCallback?: (percent: number) => void, getSrcChecksum?: boolean, signal?: AbortSignal): Promise<string | undefined>; export declare function _moveFile(srcPath: string, destPath: string, progressCallback?: (percent: number) => void, getSrcChecksum?: boolean, signal?: AbortSignal): Promise<string | undefined>; export declare function _copyFolder(srcPath: string, destPath: string, progressCallback?: (percent: number) => void, getSrcChecksum?: boolean, abortSignal?: AbortSignal): Promise<string | undefined>; export declare function _moveFolder(srcPath: string, destPath: string, progressCallback?: (percent: number) => void, getSrcChecksum?: boolean, abortSignal?: AbortSignal): Promise<string | undefined>; export declare function _getFileMd5Hash(filePath: string, signal?: AbortSignal): Promise<string>; export declare function _getFolderMd5Hash(folderPath: string, signal?: AbortSignal): Promise<string>;