summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSam Truzjan <pxqr.sta@gmail.com>2014-01-09 05:40:13 +0400
committerSam Truzjan <pxqr.sta@gmail.com>2014-01-09 05:40:13 +0400
commit3cc3e07e6db83b4b213d84c79dcb4b3aa1331b6c (patch)
tree67fcbb0635470fb68186b72b2d9b3c845b5d0e3b /src
parent735cddf5d2be9f5423d8e5dba18902d8276896aa (diff)
Rename Node.hs to NodeInfo.hs
Diffstat (limited to 'src')
-rw-r--r--src/Data/Torrent.hs2
-rw-r--r--src/Network/BitTorrent/Core.hs2
-rw-r--r--src/Network/BitTorrent/Core/NodeInfo.hs (renamed from src/Network/BitTorrent/Core/Node.hs)2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/Data/Torrent.hs b/src/Data/Torrent.hs
index 497a96d3..7d3917f2 100644
--- a/src/Data/Torrent.hs
+++ b/src/Data/Torrent.hs
@@ -94,7 +94,7 @@ import Data.Torrent.InfoHash as IH
94import Data.Torrent.JSON 94import Data.Torrent.JSON
95import Data.Torrent.Layout 95import Data.Torrent.Layout
96import Data.Torrent.Piece 96import Data.Torrent.Piece
97import Network.BitTorrent.Core.Node 97import Network.BitTorrent.Core.NodeInfo
98 98
99{----------------------------------------------------------------------- 99{-----------------------------------------------------------------------
100-- Info dictionary 100-- Info dictionary
diff --git a/src/Network/BitTorrent/Core.hs b/src/Network/BitTorrent/Core.hs
index 5717e4de..b9b3c065 100644
--- a/src/Network/BitTorrent/Core.hs
+++ b/src/Network/BitTorrent/Core.hs
@@ -31,7 +31,7 @@ import Text.PrettyPrint as PP hiding ((<>))
31import Text.PrettyPrint.Class 31import Text.PrettyPrint.Class
32 32
33import Network.BitTorrent.Core.Fingerprint as Core 33import Network.BitTorrent.Core.Fingerprint as Core
34import Network.BitTorrent.Core.Node as Core 34import Network.BitTorrent.Core.NodeInfo as Core
35import Network.BitTorrent.Core.PeerId as Core 35import Network.BitTorrent.Core.PeerId as Core
36import Network.BitTorrent.Core.PeerAddr as Core 36import Network.BitTorrent.Core.PeerAddr as Core
37 37
diff --git a/src/Network/BitTorrent/Core/Node.hs b/src/Network/BitTorrent/Core/NodeInfo.hs
index febaacac..fe2357a4 100644
--- a/src/Network/BitTorrent/Core/Node.hs
+++ b/src/Network/BitTorrent/Core/NodeInfo.hs
@@ -19,7 +19,7 @@
19{-# LANGUAGE TemplateHaskell #-} 19{-# LANGUAGE TemplateHaskell #-}
20{-# LANGUAGE GeneralizedNewtypeDeriving #-} 20{-# LANGUAGE GeneralizedNewtypeDeriving #-}
21{-# LANGUAGE DeriveDataTypeable #-} 21{-# LANGUAGE DeriveDataTypeable #-}
22module Network.BitTorrent.Core.Node 22module Network.BitTorrent.Core.NodeInfo
23 ( -- * Node ID 23 ( -- * Node ID
24 NodeId 24 NodeId
25 , testIdBit 25 , testIdBit