UnixMountEntry.mountFor

Gets a #GUnixMountEntry for a given file path. If @time_read is set, it will be filled with a unix timestamp for checking if the mounts have changed since with g_unix_mounts_changed_since().

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

class UnixMountEntry
static
mountFor
(
string filePath
,
out ulong timeRead
)

Parameters

filePath string

file path on some unix mount.

timeRead ulong

guint64 to contain a timestamp.

Return Value

a #GUnixMountEntry.

Meta

Since

2.52