Hoogle Search

Within LTS Haskell 24.52 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. fileQueryInfo :: (HasCallStack, MonadIO m, IsFile a, IsCancellable b) => a -> Text -> [FileQueryInfoFlags] -> Maybe b -> m FileInfo

    gi-gio GI.Gio.Interfaces.File

    Gets the requested information about specified file. The result is a FileInfo object that contains key-value attributes (such as the type or size of the file). The attributes value is a string that specifies the file attributes that should be gathered. It is not an error if it's not possible to read a particular requested attribute from a file - it just won't be set. attributes should be a comma-separated list of attributes or attribute wildcards. The wildcard "*" means all attributes, and a wildcard like "standard::*" means all attributes in the standard namespace. An example attribute query be "standard::*,owneruser". The standard attributes are available as defines, like FILE_ATTRIBUTE_STANDARD_NAME. If cancellable is not Nothing, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error IOErrorEnumCancelled will be returned. For symlinks, normally the information about the target of the symlink is returned, rather than information about the symlink itself. However if you pass FileQueryInfoFlagsNofollowSymlinks in flags the information about the symlink itself will be returned. Also, for symlinks that point to non-existing files the information about the symlink itself will be returned. If the file does not exist, the IOErrorEnumNotFound error will be returned. Other errors are possible too, and depend on what kind of filesystem the file is on.

  2. fileQueryInfoAsync :: (HasCallStack, MonadIO m, IsFile a, IsCancellable b) => a -> Text -> [FileQueryInfoFlags] -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()

    gi-gio GI.Gio.Interfaces.File

    Asynchronously gets the requested information about specified file. The result is a FileInfo object that contains key-value attributes (such as type or size for the file). For more details, see fileQueryInfo which is the synchronous version of this call. When the operation is finished, callback will be called. You can then call fileQueryInfoFinish to get the result of the operation.

  3. fileQueryInfoFinish :: (HasCallStack, MonadIO m, IsFile a, IsAsyncResult b) => a -> b -> m FileInfo

    gi-gio GI.Gio.Interfaces.File

    Finishes an asynchronous file info query. See fileQueryInfoAsync.

  4. fileQuerySettableAttributes :: (HasCallStack, MonadIO m, IsFile a, IsCancellable b) => a -> Maybe b -> m FileAttributeInfoList

    gi-gio GI.Gio.Interfaces.File

    Obtain the list of settable attributes for the file. Returns the type and full attribute name of all the attributes that can be set on this file. This doesn't mean setting it will always succeed though, you might get an access failure, or some specific file may not support a specific attribute. If cancellable is not Nothing, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error IOErrorEnumCancelled will be returned.

  5. fileQueryWritableNamespaces :: (HasCallStack, MonadIO m, IsFile a, IsCancellable b) => a -> Maybe b -> m FileAttributeInfoList

    gi-gio GI.Gio.Interfaces.File

    Obtain the list of attribute namespaces where new attributes can be created by a user. An example of this is extended attributes (in the "xattr" namespace). If cancellable is not Nothing, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error IOErrorEnumCancelled will be returned.

  6. iconEqual :: (HasCallStack, MonadIO m, IsIcon a, IsIcon b) => Maybe a -> Maybe b -> m Bool

    gi-gio GI.Gio.Interfaces.Icon

    Checks if two icons are equal.

  7. inetAddressEqual :: (HasCallStack, MonadIO m, IsInetAddress a, IsInetAddress b) => a -> b -> m Bool

    gi-gio GI.Gio.Objects.InetAddress

    Checks if two InetAddress instances are equal, e.g. the same address. Since: 2.30

  8. inetAddressMaskEqual :: (HasCallStack, MonadIO m, IsInetAddressMask a, IsInetAddressMask b) => a -> b -> m Bool

    gi-gio GI.Gio.Objects.InetAddressMask

    Tests if mask and mask2 are the same mask. Since: 2.32

  9. listStoreFindWithEqualFunc :: (HasCallStack, MonadIO m, IsListStore a, IsObject b) => a -> Maybe b -> EqualFunc -> m (Bool, Word32)

    gi-gio GI.Gio.Objects.ListStore

    Looks up the given item in the list store by looping over the items and comparing them with equalFunc until the first occurrence of item which matches. If item was not found, then position will not be set, and this method will return False. item is always passed as second parameter to equalFunc. Since GLib 2.76 it is possible to pass NULL for item. Since: 2.64

  10. listStoreFindWithEqualFuncFull :: (HasCallStack, MonadIO m, IsListStore a, IsObject b) => a -> Maybe b -> EqualFuncFull -> m (Bool, Word32)

    gi-gio GI.Gio.Objects.ListStore

    Like listStoreFindWithEqualFunc but with an additional userData that is passed to equalFunc. item is always passed as second parameter to equalFunc. Since GLib 2.76 it is possible to pass NULL for item. Since: 2.74

Page 297 of many | Previous | Next