diff options
author | Sam Truzjan <pxqr.sta@gmail.com> | 2014-01-09 05:40:13 +0400 |
---|---|---|
committer | Sam Truzjan <pxqr.sta@gmail.com> | 2014-01-09 05:40:13 +0400 |
commit | 3cc3e07e6db83b4b213d84c79dcb4b3aa1331b6c (patch) | |
tree | 67fcbb0635470fb68186b72b2d9b3c845b5d0e3b /src | |
parent | 735cddf5d2be9f5423d8e5dba18902d8276896aa (diff) |
Rename Node.hs to NodeInfo.hs
Diffstat (limited to 'src')
-rw-r--r-- | src/Data/Torrent.hs | 2 | ||||
-rw-r--r-- | src/Network/BitTorrent/Core.hs | 2 | ||||
-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 | |||
94 | import Data.Torrent.JSON | 94 | import Data.Torrent.JSON |
95 | import Data.Torrent.Layout | 95 | import Data.Torrent.Layout |
96 | import Data.Torrent.Piece | 96 | import Data.Torrent.Piece |
97 | import Network.BitTorrent.Core.Node | 97 | import 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 ((<>)) | |||
31 | import Text.PrettyPrint.Class | 31 | import Text.PrettyPrint.Class |
32 | 32 | ||
33 | import Network.BitTorrent.Core.Fingerprint as Core | 33 | import Network.BitTorrent.Core.Fingerprint as Core |
34 | import Network.BitTorrent.Core.Node as Core | 34 | import Network.BitTorrent.Core.NodeInfo as Core |
35 | import Network.BitTorrent.Core.PeerId as Core | 35 | import Network.BitTorrent.Core.PeerId as Core |
36 | import Network.BitTorrent.Core.PeerAddr as Core | 36 | import 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 #-} |
22 | module Network.BitTorrent.Core.Node | 22 | module Network.BitTorrent.Core.NodeInfo |
23 | ( -- * Node ID | 23 | ( -- * Node ID |
24 | NodeId | 24 | NodeId |
25 | , testIdBit | 25 | , testIdBit |