Skip to main content
Module

x/lume/core/filesystem.ts>StaticFile

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
interface StaticFile
import { type StaticFile } from "https://deno.land/x/lume@v1.15.2/core/filesystem.ts";

Properties

src: string

The path to the source file

optional
dest: string | ((path: string) => string)

The configuration path to the destination file

optional
outputPath: string

The final url destination

optional
parent: Directory

The parent directory where the StaticFile was located

filename: string

The filename from the parent Directory

optional
saved: boolean

Indicates whether the file was copied after the latest change

optional
removed: boolean

Indicates whether the source file was removed

optional
remote: string

The remote url (if the file was downloaded)