purebred-0.1.0.0: An mail user agent built around notmuch

Safe HaskellNone
LanguageHaskell2010

Purebred.System.Directory

Synopsis

Documentation

listDirectory' :: (MonadError Error m, MonadIO m) => FilePath -> m [FileSystemEntry] Source #

A version of listDirectory capable of raising an Error displayed in the UI.

filePathToEntry :: MonadIO m => FilePath -> FilePath -> m FileSystemEntry Source #

Used for rendering file system contents in order to decide whether to show the entry as a directory or file.