Gio.File.prototype.replace_finish
function replace_finish(res: Gio.AsyncResult): Gio.FileOutputStream { // Gjs wrapper for g_file_replace_finish() }
Finishes an asynchronous file replace operation started with Gio.File.prototype.replace_async.
- res
- Returns
a Gio.FileOutputStream, or null on error. Free the returned object with GObject.Object.prototype.unref.