gio.unix_mount_point

Module for [UnixMountPoint] class

Types 1

Defines a Unix mount point (e.g. <filename>/dev</filename>). This corresponds roughly to a fstab entry.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup) nothrow
GType _getGType() static nothrow
GType _gType() @property nothrow
UnixMountPoint self() nothrowReturns `this`, for use in `with` statements.
int compare(gio.unix_mount_point.UnixMountPoint mount2) nothrowCompares two unix mount points.
gio.unix_mount_point.UnixMountPoint copy() nothrowMakes a copy of mount_point. Returns: a new #GUnixMountPoint
string getDevicePath() nothrowGets the device path for a unix mount point. Returns: a string containing the device path.
string getFsType() nothrowGets the file system type for the mount point. Returns: a string containing the file system type.
string getMountPath() nothrowGets the mount path for a unix mount point. Returns: a string containing the mount path.
string getOptions() nothrowGets the options for the mount point. Returns: a string containing the options.
bool guessCanEject() nothrowGuesses whether a Unix mount point can be ejected. Returns: true if mount_point is deemed to be ejectable.
gio.icon.Icon guessIcon() nothrowGuesses the icon of a Unix mount point. Returns: a #GIcon
string guessName() nothrowGuesses the name of a Unix mount point. The result is a translated string. Returns: A newly allocated string that must be freed with [glib.global.gfree]
gio.icon.Icon guessSymbolicIcon() nothrowGuesses the symbolic icon of a Unix mount point. Returns: a #GIcon
bool isLoopback() nothrowChecks if a unix mount point is a loopback device. Returns: true if the mount point is a loopback. false otherwise.
bool isReadonly() nothrowChecks if a unix mount point is read only. Returns: true if a mount point is read only.
bool isUserMountable() nothrowChecks if a unix mount point is mountable by the user. Returns: true if the mount point is user mountable.
gio.unix_mount_point.UnixMountPoint at(string mountPath, out ulong timeRead) static nothrowGets 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.unixMountPointsChan...
Constructors
this(void * ptr, Flag!"Take" take)