Gio.unix_mount_compare

function unix_mount_compare(mount1: Gio.UnixMountEntry, mount2: Gio.UnixMountEntry): Number(gint) {
    // Gjs wrapper for g_unix_mount_compare()
}
  

Compares two unix mounts.

mount1

first Gio.UnixMountEntry to compare.

mount2

second Gio.UnixMountEntry to compare.

Returns

1, 0 or -1 if mount1 is greater than, equal to, or less than mount2, respectively.