Streamly.FileSystem.DirIO
High performance and streaming APIs for reading directories.
>>>
import qualified Streamly.FileSystem.DirIO as Dir
Streams
read :: (MonadIO m, MonadCatch m) => Path -> Stream m Path Source #
Raw read of a directory.
Pre-release
readEither :: (MonadIO m, MonadCatch m) => Path -> Stream m (Either Path Path) 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