summaryrefslogtreecommitdiff
path: root/Core.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-10-14 19:36:11 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-10-14 19:36:11 -0400
commitb8ba60428a0b4c077482560757e830e9ba02a823 (patch)
tree68c247edd2570d9121c150b35838f114eb9f994e /Core.hs
parentc4959fee47f168857998dea6d11395158251158d (diff)
changed key to include backend name
Diffstat (limited to 'Core.hs')
-rw-r--r--Core.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Core.hs b/Core.hs
index 5182a6855..6f05394bb 100644
--- a/Core.hs
+++ b/Core.hs
@@ -50,7 +50,7 @@ gitAttributes repo = do
attributes]
{- Checks if a given key is currently present in the annexLocation -}
-inAnnex :: Backend -> Key -> Annex Bool
-inAnnex backend key = do
+inAnnex :: Key -> Annex Bool
+inAnnex key = do
g <- Annex.gitRepo
- liftIO $ doesFileExist $ annexLocation g backend key
+ liftIO $ doesFileExist $ annexLocation g key