unixMountAt

fngio.unix_mount_entry.UnixMountEntry unixMountAt(string mountPath, out ulong timeRead)

Gets a #GUnixMountEntry for a given mount path. If time_read is set, it will be filled with a unix timestamp for checking if the mounts have changed since with gio.global.unixMountsChangedSince.

If more mounts have the same mount path, the last matching mount is returned.

This will return null if there is no mount point at mount_path.

Parameters

mountPathpath for a possible unix mount.
timeReadguint64 to contain a timestamp.

Returns

a #GUnixMountEntry.