diff options
author | Sam T <pxqr.sta@gmail.com> | 2013-07-17 03:13:23 +0400 |
---|---|---|
committer | Sam T <pxqr.sta@gmail.com> | 2013-07-17 03:13:23 +0400 |
commit | 36cac7b4646d64c485320f066e6fb6a2a54427d3 (patch) | |
tree | 2c2f825f38ab60770088ff6ee08da40eea41305f /src/System/Torrent | |
parent | b2b6e8e2bef7c87f0c8026766eec92aab0ff1e3e (diff) |
+ Get torrent info with caching.
Diffstat (limited to 'src/System/Torrent')
-rw-r--r-- | src/System/Torrent/Storage.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System/Torrent/Storage.hs b/src/System/Torrent/Storage.hs index c33be89c..99d164f2 100644 --- a/src/System/Torrent/Storage.hs +++ b/src/System/Torrent/Storage.hs | |||
@@ -299,7 +299,7 @@ readFD fd @ FD {..} offset reqSize = | |||
299 | readAhead fd offset expSize | 299 | readAhead fd offset expSize |
300 | return $ Right bs | 300 | return $ Right bs |
301 | 301 | ||
302 | -- TODO | 302 | -- TODO implement COW; needed for applications which want to change files. |
303 | writeFD :: FD -> ByteString -> Offset -> IO () | 303 | writeFD :: FD -> ByteString -> Offset -> IO () |
304 | writeFD FD {..} bs offset = return () | 304 | writeFD FD {..} bs offset = return () |
305 | 305 | ||