Function

GioUnix-2.0GioUnixmount_entries_changed_since

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

    This can only work reliably if a GioUnix.MountMonitor is running in the process, otherwise changes in the mount entries file (such as /proc/self/mountinfo on Linux) cannot be detected and, as a result, this function has to conservatively always return TRUE.

    It is more efficient to use GioUnix.MountMonitor::mounts-changed to be signalled of changes to the mount entries, 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 mounts have changed since time; false otherwise Since 2.84