WebKit2.Download.prototype.set_allow_overwrite
function set_allow_overwrite(allowed: Boolean): void {
// Gjs wrapper for webkit_download_set_allow_overwrite()
}
Sets the WebKit2.Download.allow_overwrite property, which determines whether the download may overwrite an existing file on disk, or if it will fail if the destination already exists.
Since 2.6
- allowed
the new value for the WebKit2.Download.allow_overwrite property