diff options
author | Joey Hess <joey@kitenet.net> | 2012-02-14 03:49:48 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-02-14 03:49:48 -0400 |
commit | cb631ce518b715e36cb3c476d576696f0630738f (patch) | |
tree | f7790f49e3b07eeb0ac86f7fa1b24d06eccbcd2e /Types | |
parent | 8fbc529d68feb1f40ac7dd44514ac387ba1237ed (diff) |
whereis: Prints the urls of files that the web special remote knows about.
Diffstat (limited to 'Types')
-rw-r--r-- | Types/Remote.hs | 2 |
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 |