summaryrefslogtreecommitdiff
path: root/src/System
diff options
context:
space:
mode:
authorSam T <pxqr.sta@gmail.com>2013-07-17 03:13:23 +0400
committerSam T <pxqr.sta@gmail.com>2013-07-17 03:13:23 +0400
commit36cac7b4646d64c485320f066e6fb6a2a54427d3 (patch)
tree2c2f825f38ab60770088ff6ee08da40eea41305f /src/System
parentb2b6e8e2bef7c87f0c8026766eec92aab0ff1e3e (diff)
+ Get torrent info with caching.
Diffstat (limited to 'src/System')
-rw-r--r--src/System/Torrent/Storage.hs2
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.
303writeFD :: FD -> ByteString -> Offset -> IO () 303writeFD :: FD -> ByteString -> Offset -> IO ()
304writeFD FD {..} bs offset = return () 304writeFD FD {..} bs offset = return ()
305 305