summaryrefslogtreecommitdiff
path: root/Backend
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-01-20 16:36:33 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-01-20 16:36:33 -0400
commit10c579282b4f0acc7f26d8084916f7d538a89bd8 (patch)
treebc9e4a526b3bef0cb54b784cbe0d42a555a329db /Backend
parentd115fb8d3418d494708390f8a74938d830c669b7 (diff)
remove 163 lines of code without changing anything except imports
Diffstat (limited to 'Backend')
-rw-r--r--Backend/Hash.hs3
-rw-r--r--Backend/URL.hs3
-rw-r--r--Backend/Utilities.hs2
-rw-r--r--Backend/WORM.hs3
4 files changed, 4 insertions, 7 deletions
diff --git a/Backend/Hash.hs b/Backend/Hash.hs
index 77e964bad..363467a2a 100644
--- a/Backend/Hash.hs
+++ b/Backend/Hash.hs
@@ -12,10 +12,9 @@ module Backend.Hash (
testKeyBackend,
) where
-import Common.Annex
+import Annex.Common
import qualified Annex
import Types.Backend
-import Types.Key
import Types.KeySource
import Utility.Hash
import Utility.ExternalSHA
diff --git a/Backend/URL.hs b/Backend/URL.hs
index 4279ebd83..92b7a4482 100644
--- a/Backend/URL.hs
+++ b/Backend/URL.hs
@@ -10,9 +10,8 @@ module Backend.URL (
fromUrl
) where
-import Common.Annex
+import Annex.Common
import Types.Backend
-import Types.Key
import Backend.Utilities
backends :: [Backend]
diff --git a/Backend/Utilities.hs b/Backend/Utilities.hs
index 4c1f70eda..04221650b 100644
--- a/Backend/Utilities.hs
+++ b/Backend/Utilities.hs
@@ -9,7 +9,7 @@ module Backend.Utilities where
import Data.Hash.MD5
-import Common.Annex
+import Annex.Common
{- Generates a keyName from an input string. Takes care of sanitizing it.
- If it's not too long, the full string is used as the keyName.
diff --git a/Backend/WORM.hs b/Backend/WORM.hs
index e1dbae2cb..99a853f47 100644
--- a/Backend/WORM.hs
+++ b/Backend/WORM.hs
@@ -7,9 +7,8 @@
module Backend.WORM (backends) where
-import Common.Annex
+import Annex.Common
import Types.Backend
-import Types.Key
import Types.KeySource
import Backend.Utilities
import Git.FilePath