Hoogle Search

Within LTS Haskell 24.32 (ghc-9.10.3)

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

  1. newtype FileEnumerator

    gi-gio GI.Gio.Objects.FileEnumerator

    Memory-managed wrapper type.

  2. FileEnumerator :: ManagedPtr FileEnumerator -> FileEnumerator

    gi-gio GI.Gio.Objects.FileEnumerator

    No documentation available.

  3. class (GObject o, IsDescendantOf FileEnumerator o) => IsFileEnumerator o

    gi-gio GI.Gio.Objects.FileEnumerator

    Type class for types which can be safely cast to FileEnumerator, for instance with toFileEnumerator.

  4. constructFileEnumeratorContainer :: (IsFileEnumerator o, MonadIO m, IsFile a) => a -> m (GValueConstruct o)

    gi-gio GI.Gio.Objects.FileEnumerator

    Construct a GValueConstruct with valid value for the “container” property. This is rarely needed directly, but it is used by new.

  5. fileEnumeratorClose :: (HasCallStack, MonadIO m, IsFileEnumerator a, IsCancellable b) => a -> Maybe b -> m ()

    gi-gio GI.Gio.Objects.FileEnumerator

    Releases all resources used by this enumerator, making the enumerator return IOErrorEnumClosed on all calls. This will be automatically called when the last reference is dropped, but you might want to call this function to make sure resources are released as early as possible.

  6. fileEnumeratorCloseAsync :: (HasCallStack, MonadIO m, IsFileEnumerator a, IsCancellable b) => a -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()

    gi-gio GI.Gio.Objects.FileEnumerator

    Asynchronously closes the file enumerator. 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 in fileEnumeratorCloseFinish.

  7. fileEnumeratorCloseFinish :: (HasCallStack, MonadIO m, IsFileEnumerator a, IsAsyncResult b) => a -> b -> m ()

    gi-gio GI.Gio.Objects.FileEnumerator

    Finishes closing a file enumerator, started from fileEnumeratorCloseAsync. If the file enumerator was already closed when fileEnumeratorCloseAsync was called, then this function will report IOErrorEnumClosed in error, and return False. If the file enumerator had pending operation when the close operation was started, then this function will report IOErrorEnumPending, and return False. If cancellable was not Nothing, then the operation may have been cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error IOErrorEnumCancelled will be set, and False will be returned.

  8. fileEnumeratorGetChild :: (HasCallStack, MonadIO m, IsFileEnumerator a, IsFileInfo b) => a -> b -> m File

    gi-gio GI.Gio.Objects.FileEnumerator

    Return a new File which refers to the file named by info in the source directory of enumerator. This function is primarily intended to be used inside loops with fileEnumeratorNextFile. To use this, FILE_ATTRIBUTE_STANDARD_NAME must have been listed in the attributes list used when creating the FileEnumerator. This is a convenience method that's equivalent to:

    C code

    gchar *name = g_file_info_get_name (info);
    GFile *child = g_file_get_child (g_file_enumerator_get_container (enumr),
    name);
    
    Since: 2.36

  9. fileEnumeratorGetContainer :: (HasCallStack, MonadIO m, IsFileEnumerator a) => a -> m File

    gi-gio GI.Gio.Objects.FileEnumerator

    Get the File container which is being enumerated. Since: 2.18

  10. fileEnumeratorHasPending :: (HasCallStack, MonadIO m, IsFileEnumerator a) => a -> m Bool

    gi-gio GI.Gio.Objects.FileEnumerator

    Checks if the file enumerator has pending operations.

Page 116 of many | Previous | Next