Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ultra/lib/build/deps.ts>VirtualFile

🧙 Hypermodern Zero-Legacy Deno/React Framework
Go to Latest
class VirtualFile
implements IFile
extends File
import { VirtualFile } from "https://deno.land/x/ultra@v2.0.0-beta.9/lib/build/deps.ts";

Constructors

new
VirtualFile(
filePath: string,
rootPath: string,
content: string | Uint8Array,
)

Properties

private
content: string | Uint8Array

Methods

copyTo(to: string): Promise<IFile>
readBytes(): Promise<Uint8Array>
remove(): Promise<boolean>