Gio.VolumeMonitor.prototype.get_mount_for_uuid

function get_mount_for_uuid(uuid: String): Gio.Mount {
    // Gjs wrapper for g_volume_monitor_get_mount_for_uuid()
}
  

Finds a Gio.Mount object by its UUID (see Gio.Mount.prototype.get_uuid)

uuid

the UUID to look for

Returns

a Gio.Mount or null if no such mount is available. Free the returned object with GObject.Object.prototype.unref.