summaryrefslogtreecommitdiff
path: root/Types/Remote.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-02-14 03:49:48 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-02-14 03:49:48 -0400
commitcb631ce518b715e36cb3c476d576696f0630738f (patch)
treef7790f49e3b07eeb0ac86f7fa1b24d06eccbcd2e /Types/Remote.hs
parent8fbc529d68feb1f40ac7dd44514ac387ba1237ed (diff)
whereis: Prints the urls of files that the web special remote knows about.
Diffstat (limited to 'Types/Remote.hs')
-rw-r--r--Types/Remote.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Types/Remote.hs b/Types/Remote.hs
index 003dd5342..9bac2ca0f 100644
--- a/Types/Remote.hs
+++ b/Types/Remote.hs
@@ -55,6 +55,8 @@ data RemoteA a = Remote {
-- Some remotes can check hasKey without an expensive network
-- operation.
hasKeyCheap :: Bool,
+ -- Some remotes can provide additional details for whereis.
+ whereisKey :: Maybe (Key -> a [String]),
-- a Remote can have a persistent configuration store
config :: Maybe RemoteConfig,
-- git configuration for the remote