summaryrefslogtreecommitdiff
path: root/Core.hs
diff options
context:
space:
mode:
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