summaryrefslogtreecommitdiff
path: root/src/System
diff options
context:
space:
mode:
authorSam T <pxqr.sta@gmail.com>2013-07-14 19:34:36 +0400
committerSam T <pxqr.sta@gmail.com>2013-07-14 19:34:36 +0400
commit4427cb321a6927b2dd8119e95e09f4998ff8a226 (patch)
treeed29b1a0ddcc3113cbe3d68d70413cc8239f5642 /src/System
parent5cd492bc9e7ebbaa9557f7a6ae15582febd60a7d (diff)
~ Use timestamp peer Id generator.
Diffstat (limited to 'src/System')
-rw-r--r--src/System/Torrent/Storage.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/System/Torrent/Storage.hs b/src/System/Torrent/Storage.hs
index 6a748fe3..cd1a8364 100644
--- a/src/System/Torrent/Storage.hs
+++ b/src/System/Torrent/Storage.hs
@@ -92,8 +92,9 @@ openStorage t @ Torrent {..} contentPath = do
92 unless exist $ do 92 unless exist $ do
93 createDirectoryIfMissing True dirPath 93 createDirectoryIfMissing True dirPath
94 94
95-- TODO
95closeStorage :: Storage -> IO () 96closeStorage :: Storage -> IO ()
96closeStorage st = error "closeStorage" 97closeStorage st = return ()
97 98
98 99
99withStorage :: Torrent -> FilePath -> (Storage -> IO a) -> IO a 100withStorage :: Torrent -> FilePath -> (Storage -> IO a) -> IO a