-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathDirIO.hs
More file actions
36 lines (34 loc) · 850 Bytes
/
DirIO.hs
File metadata and controls
36 lines (34 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
-- |
-- Module : Streamly.FileSystem.DirIO
-- Copyright : (c) 2018 Composewell Technologies
--
-- License : BSD3
-- Maintainer : streamly@composewell.com
-- Stability : pre-release
-- Portability : GHC
--
-- High performance and streaming APIs for reading directories.
--
-- >>> import qualified Streamly.FileSystem.DirIO as Dir
--
module Streamly.FileSystem.DirIO
(
-- * Configuration
#if defined(mingw32_HOST_OS) || defined(__MINGW32__)
-- | Only the default ReadOptions are supported for Windows. Please use "id"
-- as the configuration modifier.
ReadOptions
#else
ReadOptions
, followSymlinks
, ignoreMissing
, ignoreSymlinkLoops
, ignoreInaccessible
#endif
-- * Streams
, read
, readEither
)
where
import Streamly.Internal.FileSystem.DirIO
import Prelude hiding (read)