streamly-core-0.2.2: Streaming, parsers, arrays, serialization and more
Copyright(c) 2018 Composewell Technologies
LicenseBSD3
Maintainerstreamly@composewell.com
Stabilitypre-release
PortabilityGHC
Safe HaskellSafe-Inferred
LanguageHaskell2010

Streamly.FileSystem.Dir

Contents

Description

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

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