diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-05-10 15:28:13 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-05-10 15:28:13 -0400 |
commit | eed2e5427e2256adec4df9cdc7621b7e02ba0e34 (patch) | |
tree | 813a3f0c2532a360086c267c1c262f47ab536a1b /Annex | |
parent | 4adfc408b6937ff978745a67600ba732771c2b46 (diff) |
fix build warning with ghc 7.10
Diffstat (limited to 'Annex')
-rw-r--r-- | Annex/Content.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Annex/Content.hs b/Annex/Content.hs index bbf87880b..dc60dfe1a 100644 --- a/Annex/Content.hs +++ b/Annex/Content.hs @@ -500,9 +500,9 @@ getKeysPresent keyloc = do direct <- isDirect dir <- fromRepo gitAnnexObjectDir s <- getstate direct - liftIO $ traverse s direct (2 :: Int) dir + liftIO $ walk s direct (2 :: Int) dir where - traverse s direct depth dir = do + walk s direct depth dir = do contents <- catchDefaultIO [] (dirContents dir) if depth == 0 then do @@ -510,7 +510,7 @@ getKeysPresent keyloc = do let keys = mapMaybe (fileKey . takeFileName) contents' continue keys [] else do - let deeper = traverse s direct (depth - 1) + let deeper = walk s direct (depth - 1) continue [] (map deeper contents) continue keys [] = return keys continue keys (a:as) = do |