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.
unixMountsGet :: (HasCallStack, MonadIO m) => m ([UnixMountEntry], Word64)gi-gio GI.Gio.Functions Gets a List of UnixMountEntry containing the unix mounts. If timeRead is set, it will be filled with the mount timestamp, allowing for checking if the mounts have changed with unixMountsChangedSince.
fileHasPrefix :: (HasCallStack, MonadIO m, IsFile a, IsFile b) => a -> b -> m Boolgi-gio GI.Gio.Interfaces.File Checks whether file has the prefix specified by prefix. In other words, if the names of initial elements of file's pathname match prefix. Only full pathname elements are matched, so a path like /foo is not considered a prefix of /foobar, only of /foo/bar. A File is not a prefix of itself. If you want to check for equality, use fileEqual. This call does no I/O, as it works purely on names. As such it can sometimes return False even if file is inside a prefix (from a filesystem point of view), because the prefix of file is an alias of prefix.
credentialsGetUnixPid :: (HasCallStack, MonadIO m, IsCredentials a) => a -> m Int32gi-gio GI.Gio.Objects.Credentials Tries to get the UNIX process identifier from credentials. This method is only available on UNIX platforms. This operation can fail if Credentials is not supported on the OS or if the native credentials type does not contain information about the UNIX process ID. Since: 2.36
credentialsGetUnixUser :: (HasCallStack, MonadIO m, IsCredentials a) => a -> m Word32gi-gio GI.Gio.Objects.Credentials Tries to get the UNIX user identifier from credentials. This method is only available on UNIX platforms. This operation can fail if Credentials is not supported on the OS or if the native credentials type does not contain information about the UNIX user. Since: 2.26
credentialsSetUnixUser :: (HasCallStack, MonadIO m, IsCredentials a) => a -> Word32 -> m ()gi-gio GI.Gio.Objects.Credentials Tries to set the UNIX user identifier on credentials. This method is only available on UNIX platforms. This operation can fail if Credentials is not supported on the OS or if the native credentials type does not contain information about the UNIX user. It can also fail if the OS does not allow the use of "spoofed" credentials. Since: 2.26
-
gi-gio GI.Gio.Objects.DBusConnection Like dBusConnectionCall but also takes a UnixFDList object. The file descriptors normally correspond to G_VARIANT_TYPE_HANDLE values in the body of the message. For example, if a message contains two file descriptors, fdList would have length 2, and g_variant_new_handle (0) and g_variant_new_handle (1) would appear somewhere in the body of the message (not necessarily in that order!) to represent the file descriptors at indexes 0 and 1 respectively. When designing D-Bus APIs that are intended to be interoperable, please note that non-GDBus implementations of D-Bus can usually only access file descriptors if they are referenced in this way by a value of type G_VARIANT_TYPE_HANDLE in the body of the message. This method is only available on UNIX. Since: 2.30
-
gi-gio GI.Gio.Objects.DBusConnection Finishes an operation started with dBusConnectionCallWithUnixFdList. The file descriptors normally correspond to G_VARIANT_TYPE_HANDLE values in the body of the message. For example, if variantGetHandle returns 5, that is intended to be a reference to the file descriptor that can be accessed by g_unix_fd_list_get (*out_fd_list, 5, ...). When designing D-Bus APIs that are intended to be interoperable, please note that non-GDBus implementations of D-Bus can usually only access file descriptors if they are referenced in this way by a value of type G_VARIANT_TYPE_HANDLE in the body of the message. Since: 2.30
-
gi-gio GI.Gio.Objects.DBusConnection Like dBusConnectionCallSync but also takes and returns UnixFDList objects. See dBusConnectionCallWithUnixFdList and dBusConnectionCallWithUnixFdListFinish for more details. This method is only available on UNIX. Since: 2.30
dBusMessageGetNumUnixFds :: (HasCallStack, MonadIO m, IsDBusMessage a) => a -> m Word32gi-gio GI.Gio.Objects.DBusMessage Convenience getter for the DBusMessageHeaderFieldNumUnixFds header field. Since: 2.26
dBusMessageGetUnixFdList :: (HasCallStack, MonadIO m, IsDBusMessage a) => a -> m (Maybe UnixFDList)gi-gio GI.Gio.Objects.DBusMessage Gets the UNIX file descriptors associated with message, if any. This method is only available on UNIX. The file descriptors normally correspond to G_VARIANT_TYPE_HANDLE values in the body of the message. For example, if variantGetHandle returns 5, that is intended to be a reference to the file descriptor that can be accessed by g_unix_fd_list_get (list, 5, ...). Since: 2.26