Gio.File.prototype.find_enclosing_mount_finish

function find_enclosing_mount_finish(res: Gio.AsyncResult): Gio.Mount {
    // Gjs wrapper for g_file_find_enclosing_mount_finish()
}
  

Finishes an asynchronous find mount request. See Gio.File.prototype.find_enclosing_mount_async.

res

a Gio.AsyncResult

Returns

Gio.Mount for given file or null on error. Free the returned object with GObject.Object.prototype.unref.