method DenoHost.remove
DenoHost.remove(
path: string,
options?: { recursive?: boolean; }
): Promise<void>

Remove a file or directory.

Parameters

path: string
optional
options: { recursive?: boolean; }

Return Type

Promise<void>

Usage

import { type DenoHost } from "runtime/src/index.ts";