pointlessness

This commit is contained in:
Joey Hess 2012-06-29 10:00:05 -04:00
parent cd0ab91c91
commit 29335bf326
5 changed files with 20 additions and 3 deletions

View file

@ -272,7 +272,7 @@ retrieveCheap d _ k f = liftIO $ withStoredFiles Nothing d k go
remove :: FilePath -> ChunkSize -> Key -> Annex Bool
remove d chunksize k = liftIO $ withStoredFiles chunksize d k go
where
go files = all id <$> mapM removefile files
go = all id <$$> mapM removefile
removefile file = catchBoolIO $ do
let dir = parentDir file
allowWrite dir