| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte | 
|---|---|
| License | LGPL-2.1 | 
| Maintainer | Iñaki García Etxebarria | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
GI.Gio.Structs.UnixMountPoint
Description
Defines a Unix mount point (e.g. <filename>/dev</filename>). This corresponds roughly to a fstab entry.
Synopsis
- newtype UnixMountPoint = UnixMountPoint (ManagedPtr UnixMountPoint)
 - noUnixMountPoint :: Maybe UnixMountPoint
 - unixMountPointCompare :: (HasCallStack, MonadIO m) => UnixMountPoint -> UnixMountPoint -> m Int32
 - unixMountPointCopy :: (HasCallStack, MonadIO m) => UnixMountPoint -> m UnixMountPoint
 - unixMountPointFree :: (HasCallStack, MonadIO m) => UnixMountPoint -> m ()
 - unixMountPointGetDevicePath :: (HasCallStack, MonadIO m) => UnixMountPoint -> m [Char]
 - unixMountPointGetFsType :: (HasCallStack, MonadIO m) => UnixMountPoint -> m Text
 - unixMountPointGetMountPath :: (HasCallStack, MonadIO m) => UnixMountPoint -> m [Char]
 - unixMountPointGetOptions :: (HasCallStack, MonadIO m) => UnixMountPoint -> m Text
 - unixMountPointGuessCanEject :: (HasCallStack, MonadIO m) => UnixMountPoint -> m Bool
 - unixMountPointGuessIcon :: (HasCallStack, MonadIO m) => UnixMountPoint -> m Icon
 - unixMountPointGuessName :: (HasCallStack, MonadIO m) => UnixMountPoint -> m Text
 - unixMountPointGuessSymbolicIcon :: (HasCallStack, MonadIO m) => UnixMountPoint -> m Icon
 - unixMountPointIsLoopback :: (HasCallStack, MonadIO m) => UnixMountPoint -> m Bool
 - unixMountPointIsReadonly :: (HasCallStack, MonadIO m) => UnixMountPoint -> m Bool
 - unixMountPointIsUserMountable :: (HasCallStack, MonadIO m) => UnixMountPoint -> m Bool
 
Exported types
newtype UnixMountPoint Source #
Memory-managed wrapper type.
Constructors
| UnixMountPoint (ManagedPtr UnixMountPoint) | 
Instances
| Eq UnixMountPoint Source # | |
Defined in GI.Gio.Structs.UnixMountPoint Methods (==) :: UnixMountPoint -> UnixMountPoint -> Bool # (/=) :: UnixMountPoint -> UnixMountPoint -> Bool #  | |
| BoxedObject UnixMountPoint Source # | |
Defined in GI.Gio.Structs.UnixMountPoint Methods boxedType :: UnixMountPoint -> IO GType #  | |
| IsGValue UnixMountPoint Source # | Convert   | 
Defined in GI.Gio.Structs.UnixMountPoint  | |
noUnixMountPoint :: Maybe UnixMountPoint Source #
A convenience alias for Nothing :: Maybe UnixMountPoint.
Methods
Overloaded methods
compare
unixMountPointCompare Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => UnixMountPoint | 
  | 
| -> UnixMountPoint | 
  | 
| -> m Int32 | Returns: 1, 0 or -1 if   | 
Compares two unix mount points.
copy
Arguments
| :: (HasCallStack, MonadIO m) | |
| => UnixMountPoint | 
  | 
| -> m UnixMountPoint | Returns: a new   | 
Makes a copy of mountPoint.
Since: 2.54
free
Arguments
| :: (HasCallStack, MonadIO m) | |
| => UnixMountPoint | 
  | 
| -> m () | 
Frees a unix mount point.
getDevicePath
unixMountPointGetDevicePath Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => UnixMountPoint | 
  | 
| -> m [Char] | Returns: a string containing the device path.  | 
Gets the device path for a unix mount point.
getFsType
unixMountPointGetFsType Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => UnixMountPoint | 
  | 
| -> m Text | Returns: a string containing the file system type.  | 
Gets the file system type for the mount point.
getMountPath
unixMountPointGetMountPath Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => UnixMountPoint | 
  | 
| -> m [Char] | Returns: a string containing the mount path.  | 
Gets the mount path for a unix mount point.
getOptions
unixMountPointGetOptions Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => UnixMountPoint | 
  | 
| -> m Text | Returns: a string containing the options.  | 
Gets the options for the mount point.
Since: 2.32
guessCanEject
unixMountPointGuessCanEject Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => UnixMountPoint | 
  | 
| -> m Bool | Returns:   | 
Guesses whether a Unix mount point can be ejected.
guessIcon
unixMountPointGuessIcon Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => UnixMountPoint | 
  | 
| -> m Icon | Returns: a   | 
Guesses the icon of a Unix mount point.
guessName
unixMountPointGuessName Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => UnixMountPoint | 
  | 
| -> m Text | Returns: A newly allocated string that must
     be freed with   | 
Guesses the name of a Unix mount point. The result is a translated string.
guessSymbolicIcon
unixMountPointGuessSymbolicIcon Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => UnixMountPoint | 
  | 
| -> m Icon | Returns: a   | 
Guesses the symbolic icon of a Unix mount point.
Since: 2.34
isLoopback
unixMountPointIsLoopback Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => UnixMountPoint | 
  | 
| -> m Bool | Returns:   | 
Checks if a unix mount point is a loopback device.
isReadonly
unixMountPointIsReadonly Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => UnixMountPoint | 
  | 
| -> m Bool | Returns:   | 
Checks if a unix mount point is read only.
isUserMountable
unixMountPointIsUserMountable Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => UnixMountPoint | 
  | 
| -> m Bool | Returns:   | 
Checks if a unix mount point is mountable by the user.