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

@ -27,7 +27,7 @@ import Annex.Perms
import Annex.Tmp
import Annex.UUID
import qualified Annex.Url as Url
import Remote.Helper.Export
import Remote.Helper.ExportImport
import Network.URI
@ -43,6 +43,7 @@ remote = RemoteType
, generate = gen
, setup = error "not supported"
, exportSupported = exportUnsupported
, importSupported = importUnsupported
}
-- There is only one bittorrent remote, and it always exists.
@ -68,6 +69,7 @@ gen r _ c gc = do
, checkPresent = checkKey
, checkPresentCheap = False
, exportActions = exportUnsupported
, importActions = importUnsupported
, whereisKey = Nothing
, remoteFsck = Nothing
, repairRepo = Nothing