on master help sign in
Doc fix yesodweb/yesod#702

Pinging @meteficha @gregwebs

commitcbb8cf9fdd9d5a9b3a7c755b8a9a57aee0d8b451 authorMichael Snoyman <michael@snoyman.com> dateThu 27 Mar 2014, 07:04 (13 years ago) parent4fa99c1
1 file changed+3−2
wai-extra/Network/Wai/Parse.hs+3−2
wai-extra/Network/Wai/Parse.hs+3−2
@@ -90,8 +90,9 @@ lbsBackEnd _ _ = fmap L.fromChunks CL.consume
9090
9191-- | Save uploaded files on disk as temporary files
9292--
93−-- Note: starting with version 2.0, it is the responsibility of the caller to
94−-- remove any temp files created by using this backend.
93+-- Note: starting with version 2.0, removal of temp files is registered with
94+-- the provided @InternalState@. It is the responsibility of the caller to
95+-- ensure that this @InternalState@ gets cleaned up.
9596tempFileBackEnd :: InternalState -> ignored1 -> ignored2 -> Sink S.ByteString IO FilePath
9697tempFileBackEnd = tempFileBackEndOpts getTemporaryDirectory "webenc.buf"
9798