/// import { Stats } from "node:fs"; import { FilePath } from "../file-path/file-path.js"; import { IFile } from "./i-file.js"; import { IFileOptions } from "./i-file-options.js"; import { IFolder } from "../folder/i-folder.js"; export class File implements IFile { public data: T | undefined; public path: FilePath; public root: IFolder | undefined; public stats: Stats | undefined; public constructor(options: IFileOptions = {}) { this.data = options.data this.path = options.path || new FilePath(); this.root = options.root; this.stats = options.stats; } };