summaryrefslogtreecommitdiff
path: root/BackendList.hs
diff options
context:
space:
mode:
Diffstat (limited to 'BackendList.hs')
-rw-r--r--BackendList.hs18
1 files changed, 5 insertions, 13 deletions
diff --git a/BackendList.hs b/BackendList.hs
index 4279b69fc..bc3fd8314 100644
--- a/BackendList.hs
+++ b/BackendList.hs
@@ -9,21 +9,13 @@ module BackendList (allBackends) where
-- When adding a new backend, import it here and add it to the list.
import qualified Backend.WORM
-import qualified Backend.SHA1
-import qualified Backend.SHA256
-import qualified Backend.SHA512
-import qualified Backend.SHA224
-import qualified Backend.SHA384
+import qualified Backend.SHA
import qualified Backend.URL
import Types
allBackends :: [Backend Annex]
-allBackends =
- [ Backend.WORM.backend
- , Backend.SHA1.backend
- , Backend.SHA256.backend
- , Backend.SHA512.backend
- , Backend.SHA224.backend
- , Backend.SHA384.backend
- , Backend.URL.backend
+allBackends = concat
+ [ Backend.WORM.backends
+ , Backend.SHA.backends
+ , Backend.URL.backends
]