@@ -7,15 +7,19 @@
7-- Stability : pre-release
7-- Stability : pre-release
8-- Portability : GHC
8-- Portability : GHC
10+-- Warning\: The API of this module is subject to change in future releases.
11+-- Especially the type for representing paths may change from 'FilePath' to
10-- Read and write streams and arrays to and from files specified by their paths
14-- Read and write streams and arrays to and from files specified by their paths
11-- in the file system. Unlike the handle based APIs which can have a read/write
15-- in the file system. Unlike the handle based APIs which can have a read/write
12-- session consisting of multiple reads and writes to the handle, these APIs
16-- session consisting of multiple reads and writes to the handle, these APIs
13-- are one shot read or write APIs. These APIs open the file handle, perform
17-- are one shot read or write APIs. These APIs open the file handle, perform
14−-- the requested operation and close the handle. Thease are safer compared to
18+-- the requested operation and close the handle. These are safer compared to
15-- the handle based APIs as there is no possibility of a file descriptor
19-- the handle based APIs as there is no possibility of a file descriptor
16-- leakage.
20-- leakage.
18−-- > import qualified Streamly.FileSystem.File as File
22+-- >>> import qualified Streamly.FileSystem.File as File
20module Streamly.FileSystem.File
24module Streamly.FileSystem.File