Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/core.ts>StaticFile

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
interface StaticFile
Re-export
import { type StaticFile } from "https://deno.land/x/lume@v1.15.3/core.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)