This commit is contained in:
Joey Hess 2011-03-29 17:20:22 -04:00
parent 475f707361
commit 72f94cc42e
4 changed files with 66 additions and 65 deletions

View file

@ -53,7 +53,7 @@ remoteTypes =
]
{- Builds a list of all available Remotes.
- Since doing so can be expensive, the list is cached in the Annex. -}
- Since doing so can be expensive, the list is cached. -}
genList :: Annex [Remote Annex]
genList = do
rs <- Annex.getState Annex.remotes
@ -130,7 +130,7 @@ remoteLog = do
getConfigs :: [Remote Annex] -> Annex [Remote Annex]
getConfigs rs = do
m <- readRemoteLog
return $ map (get m) rs
return $ map (get m) rs
where
get m r = r { config = M.lookup (uuid r) m }