summaryrefslogtreecommitdiff
path: root/Remote.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-04-12 12:49:11 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-04-12 12:54:41 -0400
commitc6ba6fb9bda03fa1ec43aae54197777a04a54a62 (patch)
tree4dbdab956fb87041e9b13fea7981e01a91602811 /Remote.hs
parent5b3e97f72cf4fdaac4642b6e9fd48ff6419bda1d (diff)
info dir: Added information about repositories that contain files in the specified directory.
This is a nearly free feature; it piggybacks on the location log lookups done for the numcopies stats. So, the only extra overhead is updating the map of repository sizes. However, I had to switch to Data.Map.Strict, which needs containers 0.5. If backporting to wheezy, will probably need to revert this commit.
Diffstat (limited to 'Remote.hs')
-rw-r--r--Remote.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote.hs b/Remote.hs
index 771c63472..8a03f757d 100644
--- a/Remote.hs
+++ b/Remote.hs
@@ -83,7 +83,7 @@ remoteMap' mkv mkk = M.fromList . mapMaybe mk <$> remoteList
Nothing -> Nothing
Just k -> Just (k, mkv r)
-{- Map of UUIDs of remotes and their descriptions.
+{- Map of UUIDs of repositories and their descriptions.
- The names of Remotes are added to suppliment any description that has
- been set for a repository. -}
uuidDescriptions :: Annex (M.Map UUID String)