summaryrefslogtreecommitdiff
path: root/Remote
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-09-19 14:20:47 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-09-19 14:20:47 -0400
commit7d0d4d5b6ab2fd23c664742e5a1e7ed019b0c40d (patch)
tree9a613e5c67bfcda40679d78f4c80f46194cc0ea3 /Remote
parentc1cfb595d426ebbad6b9778d03ecaef544df776b (diff)
git annex sync --content to exports
Assistant still todo. This commit was sponsored by Boyd Stephen Smith Jr. on Patreon
Diffstat (limited to 'Remote')
-rw-r--r--Remote/Helper/Export.hs6
-rw-r--r--Remote/S3.hs1
2 files changed, 2 insertions, 5 deletions
diff --git a/Remote/Helper/Export.hs b/Remote/Helper/Export.hs
index d62c5a7e8..f5c3585c5 100644
--- a/Remote/Helper/Export.hs
+++ b/Remote/Helper/Export.hs
@@ -17,6 +17,7 @@ import Backend
import Remote.Helper.Encryptable (isEncrypted)
import Database.Export
import Logs.Export
+import Annex.Export
import Annex.LockFile
import Git.Sha
@@ -42,11 +43,6 @@ instance HasExportUnsupported (Annex (ExportActions Annex)) where
, renameExport = \_ _ _ -> return False
}
-exportTree :: RemoteConfig -> Bool
-exportTree c = case M.lookup "exporttree" c of
- Just "yes" -> True
- _ -> False
-
exportIsSupported :: RemoteConfig -> RemoteGitConfig -> Annex Bool
exportIsSupported = \_ _ -> return True
diff --git a/Remote/S3.hs b/Remote/S3.hs
index 52d03ba94..5e76b9810 100644
--- a/Remote/S3.hs
+++ b/Remote/S3.hs
@@ -34,6 +34,7 @@ import System.Log.Logger
import Annex.Common
import Types.Remote
import Types.Export
+import Annex.Export
import qualified Git
import Config
import Config.Cost