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

x/lume/core/fs.ts>default

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
class default
import { default } from "https://deno.land/x/lume@v1.19.2/core/fs.ts";

Virtual file system used to load and cache files (local and remote)

Constructors

new
default(options: Options)

Properties

entries: Map<string, Entry>
options: Options
remoteFiles: Map<string, string>
tree: Entry

Methods

addEntry(data: { path: string; type?: EntryType; src?: string; }): Entry
removeEntry(path: string)
update(path: string): Entry | undefined

Update the entry and returns it if it was removed