property PluginOptionsResult.overwrite_on_duplicate

Whether starting a download for a URL this plugin handles should overwrite an existing archive that collides by content hash or destination filename, rather than the default safe behavior (reject the new file, keep the existing archive untouched). Omit if this plugin has no opinion — the effective value then falls back to the global replacedupe setting.

Properties

default: boolean
description: string

Human-readable explanation shown in the settings UI.

Usage

import { type PluginOptionsResult } from "crates/lanrurugi-plugin/dispatcher/plugin-sdk.ts";