From cb631ce518b715e36cb3c476d576696f0630738f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 14 Feb 2012 03:49:48 -0400 Subject: whereis: Prints the urls of files that the web special remote knows about. --- Types/Remote.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Types/Remote.hs') 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 -- cgit v1.2.3