Revert "let url claims optionally include a suggested filename"
This reverts commit 85df9c30e9
.
Putting filename in the claim was a bad idea.
This commit is contained in:
parent
30685751ea
commit
7ae16bb6f7
11 changed files with 26 additions and 67 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue