diff options
author | Joey Hess <joeyh@joeyh.name> | 2014-12-11 14:09:57 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2014-12-11 14:09:57 -0400 |
commit | 4e88f7e9af6a776347649047f2473e470a729ed9 (patch) | |
tree | baa24cac409b25155aed0bcb7e006028ab743dc4 /Types/Remote.hs | |
parent | 9949e46e150be17320c22a096ead5ffd0fb5a8a6 (diff) |
Revert "let url claims optionally include a suggested filename"
This reverts commit bc0bf97b20c48e1d1a35d25e2e76a311c102438c.
Putting filename in the claim was a bad idea.
Diffstat (limited to 'Types/Remote.hs')
-rw-r--r-- | Types/Remote.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Types/Remote.hs b/Types/Remote.hs index bb56bb01d..baa857906 100644 --- a/Types/Remote.hs +++ b/Types/Remote.hs @@ -25,7 +25,6 @@ import Types.UUID import Types.GitConfig import Types.Availability import Types.Creds -import Types.URLClaim import Config.Cost import Utility.Metered import Git.Types @@ -104,7 +103,7 @@ data RemoteA a = Remote { -- Information about the remote, for git annex info to display. getInfo :: a [(String, String)], -- Some remotes can download from an url (or uri). - claimUrl :: Maybe (URLString -> a (Maybe URLClaim)), + claimUrl :: Maybe (URLString -> a Bool), -- Checks that the url is accessible, and gets the size of its -- content. Returns Nothing if the url is accessible, but -- its size cannot be determined inexpensively. |