Copyright | (c) 2018 Composewell Technologies |
---|---|
License | BSD3 |
Maintainer | streamly@composewell.com |
Stability | pre-release |
Portability | GHC |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
Synopsis
- read :: (MonadIO m, MonadCatch m) => FilePath -> Stream m FilePath
- readEither :: (MonadIO m, MonadCatch m) => FilePath -> Stream m (Either FilePath FilePath)
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