hlint
This commit is contained in:
parent
8cc90219d2
commit
c1990702e9
15 changed files with 40 additions and 42 deletions
|
@ -265,7 +265,7 @@ getFailedTransfers u = catMaybes <$> (liftIO . getpairs =<< concat <$> findfiles
|
|||
clearFailedTransfers :: UUID -> Annex [(Transfer, TransferInfo)]
|
||||
clearFailedTransfers u = do
|
||||
failed <- getFailedTransfers u
|
||||
mapM_ removeFailedTransfer $ map fst failed
|
||||
mapM_ (removeFailedTransfer . fst) failed
|
||||
return failed
|
||||
|
||||
removeFailedTransfer :: Transfer -> Annex ()
|
||||
|
|
|
@ -82,6 +82,5 @@ transitionList = map transition . S.elems
|
|||
{- Typically ran with Annex.Branch.change, but we can't import Annex.Branch
|
||||
- here since it depends on this module. -}
|
||||
recordTransitions :: (FilePath -> (String -> String) -> Annex ()) -> Transitions -> Annex ()
|
||||
recordTransitions changer t = do
|
||||
changer transitionsLog $
|
||||
showTransitions . S.union t . parseTransitionsStrictly "local"
|
||||
recordTransitions changer t = changer transitionsLog $
|
||||
showTransitions . S.union t . parseTransitionsStrictly "local"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue