no remotes support import yet

This commit is contained in:
Joey Hess 2019-02-20 15:55:01 -04:00
parent e8bfc3640b
commit ccc0684d21
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
20 changed files with 68 additions and 22 deletions

View file

@ -10,7 +10,7 @@ module Remote.Web (remote, getWebUrls) where
import Annex.Common
import Types.Remote
import Remote.Helper.Messages
import Remote.Helper.Export
import Remote.Helper.ExportImport
import qualified Git
import qualified Git.Construct
import Annex.Content
@ -29,6 +29,7 @@ remote = RemoteType
, generate = gen
, setup = error "not supported"
, exportSupported = exportUnsupported
, importSupported = importUnsupported
}
-- There is only one web remote, and it always exists.
@ -57,6 +58,7 @@ gen r _ c gc = do
, checkPresent = checkKey
, checkPresentCheap = False
, exportActions = exportUnsupported
, importActions = importUnsupported
, whereisKey = Nothing
, remoteFsck = Nothing
, repairRepo = Nothing