Hoogle Search
Within LTS Haskell 24.58 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
unixMountAt :: (HasCallStack, MonadIO m) => [Char] -> m (Maybe UnixMountEntry, Word64)gi-gio GI.Gio.Functions Gets a UnixMountEntry for a given mount path. If timeRead is set, it will be filled with a unix timestamp for checking if the mounts have changed since with unixMountsChangedSince. If more mounts have the same mount path, the last matching mount is returned. This will return Nothing if there is no mount point at mountPath.
unixMountCompare :: (HasCallStack, MonadIO m) => UnixMountEntry -> UnixMountEntry -> m Int32gi-gio GI.Gio.Functions Compares two unix mounts.
unixMountCopy :: (HasCallStack, MonadIO m) => UnixMountEntry -> m UnixMountEntrygi-gio GI.Gio.Functions Makes a copy of mountEntry. Since: 2.54
unixMountFor :: (HasCallStack, MonadIO m) => [Char] -> m (Maybe UnixMountEntry, Word64)gi-gio GI.Gio.Functions Gets a UnixMountEntry for a given file path. If timeRead is set, it will be filled with a unix timestamp for checking if the mounts have changed since with unixMountsChangedSince. If more mounts have the same mount path, the last matching mount is returned. This will return Nothing if looking up the mount entry fails, if filePath doesn’t exist or there is an I/O error. Since: 2.52
unixMountFree :: (HasCallStack, MonadIO m) => UnixMountEntry -> m ()gi-gio GI.Gio.Functions Frees a unix mount.
unixMountGetDevicePath :: (HasCallStack, MonadIO m) => UnixMountEntry -> m [Char]gi-gio GI.Gio.Functions Gets the device path for a unix mount.
unixMountGetFsType :: (HasCallStack, MonadIO m) => UnixMountEntry -> m Textgi-gio GI.Gio.Functions Gets the filesystem type for the unix mount.
unixMountGetMountPath :: (HasCallStack, MonadIO m) => UnixMountEntry -> m [Char]gi-gio GI.Gio.Functions Gets the mount path for a unix mount.
unixMountGetOptions :: (HasCallStack, MonadIO m) => UnixMountEntry -> m (Maybe Text)gi-gio GI.Gio.Functions Gets a comma-separated list of mount options for the unix mount. For example, rw,relatime,seclabel,data=ordered. This is similar to unixMountPointGetOptions, but it takes a UnixMountEntry as an argument. Since: 2.58
unixMountGetRootPath :: (HasCallStack, MonadIO m) => UnixMountEntry -> m (Maybe Text)gi-gio GI.Gio.Functions Gets the root of the mount within the filesystem. This is useful e.g. for mounts created by bind operation, or btrfs subvolumes. For example, the root path is equal to "/" for mount created by "mount /dev/sda1 /mnt/foo" and "/bar" for "mount --bind /mnt/foo/bar /mnt/bar". Since: 2.60