summaryrefslogtreecommitdiff
path: root/Remote/External.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2017-09-01 13:02:07 -0400
committerJoey Hess <joeyh@joeyh.name>2017-09-01 13:05:09 -0400
commita4328b49d2d0e07815db4d92b1176fe4bed16cf5 (patch)
tree55dd0528dbfbe4303855e2006a5d26519e4d0641 /Remote/External.hs
parent5483ea90eca33f61c799fb6a3c2675657caa9c75 (diff)
refactor ExportActions
This will allow disabling exports for remotes that are not configured to allow them. Also, exportSupported will be useful for the external special remote to probe. This commit was supported by the NSF-funded DataLad project
Diffstat (limited to 'Remote/External.hs')
-rw-r--r--Remote/External.hs7
1 files changed, 2 insertions, 5 deletions
diff --git a/Remote/External.hs b/Remote/External.hs
index dd62c1539e..fca60a995f 100644
--- a/Remote/External.hs
+++ b/Remote/External.hs
@@ -18,6 +18,7 @@ import Config
import Git.Config (isTrue, boolConfig)
import Git.Env
import Remote.Helper.Special
+import Remote.Helper.Export
import Remote.Helper.ReadOnly
import Remote.Helper.Messages
import Utility.Metered
@@ -85,11 +86,7 @@ gen r u c gc
, lockContent = Nothing
, checkPresent = checkPresentDummy
, checkPresentCheap = False
- , storeExport = Nothing
- , retrieveExport = Nothing
- , removeExport = Nothing
- , checkPresentExport = Nothing
- , renameExport = Nothing
+ , exportActions = exportUnsupported
, whereisKey = towhereis
, remoteFsck = Nothing
, repairRepo = Nothing