UnixMountPoint.at

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

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

class UnixMountPoint
static
at
(
string mountPath
,
out ulong timeRead
)

Parameters

mountPath string

path for a possible unix mount point.

timeRead ulong

guint64 to contain a timestamp.

Return Value

Type: gio.unix_mount_point.UnixMountPoint

a #GUnixMountPoint, or null if no match is found.