Skip to main content
RmDirOptions.recursive - fs - Node documentation
property RmDirOptions.recursive

Usage in Deno

import { type RmDirOptions } from "node:fs";
Deprecated

since v14.14.0 In future versions of Node.js and will trigger a warning fs.rmdir(path, { recursive: true }) will throw if path does not exist or is a file. Use fs.rm(path, { recursive: true, force: true }) instead.

If true, perform a recursive directory removal. In recursive mode, operations are retried on failure.

Type

boolean | undefined
Back to top