Streamly.FileSystem.Dir
Deprecated: Please use Streamly.FileSystem.DirIO instead.
Warning: The API of this module is subject to change in future releases.
Especially the type for representing paths may change from FilePath
to
something else.
Streams
read :: (MonadIO m, MonadCatch m) => FilePath -> Stream m FilePath Source #
Raw read of a directory.
Pre-release
readEither :: (MonadIO m, MonadCatch m) => FilePath -> Stream m (Either FilePath FilePath) Source #
Read directories as Left and files as Right. Filter out "." and ".." entries. The output contains the names of the directories and files.
Pre-release