Function

GioUnix-2.0GioUnixmount_points_changed_since

  • Checks if the Unix mount points have changed since a given Unix time.

    Unlike GioUnix.mount_entries_changed_since, this function can work reliably without a GioUnix.MountMonitor running, as it accesses the static mount point information (such as /etc/fstab on Linux), which has a valid modification time.

    It is more efficient to use GioUnix.MountMonitor::mountpoints-changed to be signalled of changes to the mount points, rather than polling using this function. This function is more appropriate for infrequently determining cache validity.

    Parameters

    • time: number | bigint

      a timestamp

    Returns boolean

    true if the mount points have changed since time; false otherwise