function remove
remove(path: string | URL): Task<void, RemoveError>

Removes a file or directory recursively. No error if the path doesn't exist.

Examples

Example 1

await remove("./tmp").run();

Parameters

path: string | URL

Return Type

Task<void, RemoveError>

Usage

import { remove } from ".";