Skip to main content
CopyOptionsBase.force - fs - Node documentation
property CopyOptionsBase.force

Usage in Deno

import { type CopyOptionsBase } from "node:fs";

Overwrite existing file or directory. _The copy operation will ignore errors if you set this to false and the destination exists. Use the errorOnExist option to change this behavior.

Type

boolean