on master help sign in
move file FileSystem/File.hs to Internal
fa8a5fdHarendra Kumar
src/Streamly/FileSystem/File.hs → src/Streamly/Internal/FileSystem/File.hsrenamed+3−3
@@ -8,7 +8,7 @@
8#include "inline.hs"
8#include "inline.hs"
9
9
10-- |
10-- |
11−-- Module : Streamly.FileSystem.File
11+-- Module : Streamly.Internal.FileSystem.File
12-- Copyright : (c) 2019 Harendra Kumar
12-- Copyright : (c) 2019 Harendra Kumar
13--
13--
14-- License : BSD3
14-- License : BSD3
@@ -24,10 +24,10 @@
24-- the handle based APIs as there is no possiblity of a file descriptor
24-- the handle based APIs as there is no possiblity of a file descriptor
25-- leakage.
25-- leakage.
26--
26--
27−-- > import qualified Streamly.FileSystem.File as File
27+-- > import qualified Streamly.Internal.FileSystem.File as File
28--
28--
29
29
30−module Streamly.FileSystem.File
30+module Streamly.Internal.FileSystem.File
31 (
31 (
32 -- * Streaming IO
32 -- * Streaming IO
33 -- | Stream data to or from a file or device sequentially. When reading,
33 -- | Stream data to or from a file or device sequentially. When reading,
src/Streamly/Network/Socket.hs+1−1
@@ -18,7 +18,7 @@
18--
18--
19-- Read and write streams and arrays to and from network sockets. Socket IO
19-- Read and write streams and arrays to and from network sockets. Socket IO
20-- APIs are quite similar to "Streamly.Memory.Array" read write APIs and almost
20-- APIs are quite similar to "Streamly.Memory.Array" read write APIs and almost
21−-- identical to the sequential streaming APIs in "Streamly.FileSystem.File".
21+-- identical to the sequential streaming APIs in "Streamly.Internal.FileSystem.File".
22--
22--
23-- Read IO requests to the socket are performed in chunks of 32KiB, this is
23-- Read IO requests to the socket are performed in chunks of 32KiB, this is
24-- referred to as @defaultChunkSize@ in the documentation. One IO request may
24-- referred to as @defaultChunkSize@ in the documentation. One IO request may
streamly.cabal+1−1
@@ -288,7 +288,6 @@ library
288 , Streamly.FileSystem.IOVec
288 , Streamly.FileSystem.IOVec
289 , Streamly.FileSystem.FDIO
289 , Streamly.FileSystem.FDIO
290 , Streamly.FileSystem.FD
290 , Streamly.FileSystem.FD
291− , Streamly.FileSystem.File
292
291
293 -- Time
292 -- Time
294 , Streamly.Time.Units
293 , Streamly.Time.Units
@@ -316,6 +315,7 @@ library
316 , Streamly.Internal.Data.Unfold
315 , Streamly.Internal.Data.Unfold
317 , Streamly.Internal.Data.List
316 , Streamly.Internal.Data.List
318 , Streamly.Internal.FileSystem.Handle
317 , Streamly.Internal.FileSystem.Handle
318+ , Streamly.Internal.FileSystem.File
319 , Streamly.Internal.Prelude
319 , Streamly.Internal.Prelude
320 if !impl(ghcjs)
320 if !impl(ghcjs)
321 exposed-modules:
321 exposed-modules: