UNPKG

@manuth/woltlab-compiler

Version:

A compiler for generating WoltLab-Package `.tar` Archives and other WoltLab-Package Components

38 lines (37 loc) 862 B
import { IFileDescriptorOptions } from "./IFileDescriptorOptions.js"; /** * Provides a description of a file. */ export declare class FileDescriptor { /** * The path to load the file from. */ private source; /** * The filename to save the file to. */ private fileName; /** * Initializes a new instance of the {@link FileDescriptor `FileDescriptor`} class. * * @param options * The options of the file-descriptor. */ constructor(options: IFileDescriptorOptions); /** * Gets or sets the path to load the file from. */ get Source(): string; /** * @inheritdoc */ set Source(value: string); /** * Gets ort sets the filename to save the file to. */ get FileName(): string; /** * @inheritdoc */ set FileName(value: string); }