WebKit2.Download.prototype.get_allow_overwrite

function get_allow_overwrite(): Boolean {
    // Gjs wrapper for webkit_download_get_allow_overwrite()
}
  

Returns the current value of the WebKit2.Download.allow_overwrite property, which determines whether the download will overwrite an existing file on disk, or if it will fail if the destination already exists.

Since 2.6

Returns

the current value of the WebKit2.Download.allow_overwrite property