summaryrefslogtreecommitdiff
path: root/src/Data/Torrent.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data/Torrent.hs')
-rw-r--r--src/Data/Torrent.hs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Data/Torrent.hs b/src/Data/Torrent.hs
index 4d6461af..59f11814 100644
--- a/src/Data/Torrent.hs
+++ b/src/Data/Torrent.hs
@@ -104,9 +104,14 @@ import Data.Torrent.Piece
104-- | Info part of the .torrent file contain info about each content file. 104-- | Info part of the .torrent file contain info about each content file.
105data InfoDict = InfoDict 105data InfoDict = InfoDict
106 { idInfoHash :: !InfoHash 106 { idInfoHash :: !InfoHash
107 -- ^ SHA1 hash of the (other) 'DictInfo' fields. 107 -- ^ SHA1 hash of the (other) 'DictInfo' fields.
108
108 , idLayoutInfo :: !LayoutInfo 109 , idLayoutInfo :: !LayoutInfo
110 -- ^ File layout (name, size, etc) information.
111
109 , idPieceInfo :: !PieceInfo 112 , idPieceInfo :: !PieceInfo
113 -- ^ Content validation information.
114
110 , idPrivate :: !Bool 115 , idPrivate :: !Bool
111 -- ^ If set the client MUST publish its presence to get other 116 -- ^ If set the client MUST publish its presence to get other
112 -- peers ONLY via the trackers explicity described in the 117 -- peers ONLY via the trackers explicity described in the