summaryrefslogtreecommitdiff
path: root/src/Data
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data')
-rw-r--r--src/Data/Torrent.hs9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Data/Torrent.hs b/src/Data/Torrent.hs
index 2733956c..bb7485cf 100644
--- a/src/Data/Torrent.hs
+++ b/src/Data/Torrent.hs
@@ -51,6 +51,9 @@ module Data.Torrent
51 -- * Construction 51 -- * Construction
52 , nullTorrent 52 , nullTorrent
53 53
54 -- * Mime types
55 , typeTorrent
56
54 -- * File paths 57 -- * File paths
55 , torrentExt 58 , torrentExt
56 , isTorrentPath 59 , isTorrentPath
@@ -269,7 +272,11 @@ nullTorrent ann info = Torrent
269 ann Nothing Nothing Nothing Nothing Nothing 272 ann Nothing Nothing Nothing Nothing Nothing
270 info Nothing Nothing Nothing 273 info Nothing Nothing Nothing
271 274
272-- | Extension usually used for torrent metafiles. 275-- | Mime type of torrent files.
276typeTorrent :: BS.ByteString
277typeTorrent = "application/x-bittorrent"
278
279-- | Extension usually used for torrent files.
273torrentExt :: String 280torrentExt :: String
274torrentExt = "torrent" 281torrentExt = "torrent"
275 282