From 971ab27e7820a3228f71dd42f3e870c0fc2f4345 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 1 Jun 2011 19:10:38 -0400 Subject: better types allowed breaking module dep loop --- Backend/File.hs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Backend') diff --git a/Backend/File.hs b/Backend/File.hs index 58506c861..543f02af7 100644 --- a/Backend/File.hs +++ b/Backend/File.hs @@ -21,7 +21,6 @@ import Data.String.Utils import BackendClass import LocationLog import qualified Remote -import qualified RemoteUtils import qualified GitRepo as Git import Content import qualified Annex @@ -54,7 +53,7 @@ dummyStore _ _ = return True - and copy it to here. -} copyKeyFile :: Key -> FilePath -> Annex Bool copyKeyFile key file = do - (remotes, _) <- RemoteUtils.keyPossibilities key + (remotes, _) <- Remote.keyPossibilities key if null remotes then do showNote "not available" @@ -97,7 +96,7 @@ checkRemoveKey key numcopiesM = do if force || numcopiesM == Just 0 then return True else do - (remotes, trusteduuids) <- RemoteUtils.keyPossibilities key + (remotes, trusteduuids) <- Remote.keyPossibilities key untrusteduuids <- trustGet UnTrusted let tocheck = Remote.remotesWithoutUUID remotes (trusteduuids++untrusteduuids) numcopies <- getNumCopies numcopiesM -- cgit v1.2.3