class FSWriter
implements Writer
import { FSWriter } from "https://deno.land/x/lume@v2.2.1/core/writer.ts";
Class to write the generated pages and static files in the dest folder.
Constructors
new
FSWriter(options: Options)Methods
copyFile(file: StaticFile): Promise<boolean>
Copy a static file in the dest folder Returns a boolean indicating if the file has saved
removeFiles(files: string[])