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.
-
gi-gio GI.Gio.Objects.FileEnumerator Memory-managed wrapper type.
FileEnumerator :: ManagedPtr FileEnumerator -> FileEnumeratorgi-gio GI.Gio.Objects.FileEnumerator No documentation available.
class (GObject o, IsDescendantOf FileEnumerator o) =>
IsFileEnumerator ogi-gio GI.Gio.Objects.FileEnumerator Type class for types which can be safely cast to FileEnumerator, for instance with toFileEnumerator.
-
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.
-
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.
-
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.
-
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.
-
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 fileEnumeratorGetContainer :: (HasCallStack, MonadIO m, IsFileEnumerator a) => a -> m Filegi-gio GI.Gio.Objects.FileEnumerator Get the File container which is being enumerated. Since: 2.18
fileEnumeratorHasPending :: (HasCallStack, MonadIO m, IsFileEnumerator a) => a -> m Boolgi-gio GI.Gio.Objects.FileEnumerator Checks if the file enumerator has pending operations.