UNPKG

kaven-utils

Version:

Utils for Node.js.

25 lines (24 loc) 932 B
/******************************************************************** * @author: Kaven * @email: kaven@wuwenkai.com * @website: http://blog.kaven.xyz * @file: [Kaven-Utils] /src/GeneratedFile.ts * @create: 2022-04-21 16:50:47.915 * @modify: 2023-12-06 14:57:08.203 * @version: 5.4.0 * @times: 7 * @lines: 52 * @copyright: Copyright © 2022-2023 Kaven. All Rights Reserved. * @description: [description] * @license: [license] ********************************************************************/ import { IGeneratedFile } from "./base/Interfaces.js"; export declare class GeneratedFile implements IGeneratedFile { private content?; readonly Path: string; constructor(path: string); GetContent(force?: boolean): Promise<string>; Delete(): Promise<boolean>; CopyTo(dest: string): Promise<boolean>; MoveTo(dest: string): Promise<boolean>; }