Hoogle Search
Within LTS Haskell 24.33 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
module System.GIO.File.
FileEnumerator No documentation available.
-
gio System.GIO.File.FileEnumerator No documentation available.
FileEnumerator :: ForeignPtr FileEnumerator -> FileEnumeratorgio System.GIO.File.FileEnumerator No documentation available.
class GObjectClass o =>
FileEnumeratorClass ogio System.GIO.File.FileEnumerator No documentation available.
fileEnumeratorClose :: FileEnumeratorClass enumerator => enumerator -> Maybe Cancellable -> IO ()gio System.GIO.File.FileEnumerator Releases all resources used by this enumerator, making the enumerator return GIoErrorClosed 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. Throws a GError if an error occurs.
-
gio System.GIO.File.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 IoErrorCancelled will be returned in fileEnumeratorCloseFinish.
fileEnumeratorCloseFinish :: FileEnumeratorClass enumerator => enumerator -> AsyncResult -> IO ()gio System.GIO.File.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 GIoErrorClosed in error, and return False. If the file enumerator had pending operation when the close operation was started, then this function will report IoErrorPending, 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 GError IoErrorCancelled will be thrown.
fileEnumeratorGetContainer :: FileEnumeratorClass enumerator => enumerator -> IO Filegio System.GIO.File.FileEnumerator Get the File container which is being enumerated.
fileEnumeratorHasPending :: FileEnumeratorClass enumerator => enumerator -> IO Boolgio System.GIO.File.FileEnumerator Checks if the file enumerator has pending operations.
fileEnumeratorIsClosed :: FileEnumeratorClass enumerator => enumerator -> IO Boolgio System.GIO.File.FileEnumerator Checks if the file enumerator has been closed.