cleaned: fileSourceByteString: document comment
from code review.
This commit is contained in:
parent
11159f3a75
commit
1e89f4d4c3
@ -1362,8 +1362,9 @@ rawRequestBody = do
|
||||
fileSource :: MonadResource m => FileInfo -> ConduitT () S.ByteString m ()
|
||||
fileSource = transPipe liftResourceT . fileSourceRaw
|
||||
|
||||
-- | Strict `ByteString` body from `FileInfo`.
|
||||
-- This function blocking while read file.
|
||||
-- | Extract a strict `ByteString` body from a `FileInfo`.
|
||||
--
|
||||
-- This function will block while reading the file.
|
||||
--
|
||||
-- > do
|
||||
-- > fileByteString <- fileSourceByteString fileInfo
|
||||
|
||||
Loading…
Reference in New Issue
Block a user