Gio.File.prototype.create_finish

function create_finish(res: Gio.AsyncResult): Gio.FileOutputStream {
    // Gjs wrapper for g_file_create_finish()
}
  

Finishes an asynchronous file create operation started with Gio.File.prototype.create_async.

res

a Gio.AsyncResult

Returns

a Gio.FileOutputStream or null on error. Free the returned object with GObject.Object.prototype.unref.