summaryrefslogtreecommitdiff
path: root/Remote/WebDAV
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-09-13 15:03:37 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-09-13 15:09:19 -0400
commitd5563ace55321012e291d1f5ae86e3d34ef52901 (patch)
tree7542a62a84f1ba8ec2833670826733eb443592e7 /Remote/WebDAV
parenta72dfd263a4f8a682c6d29442860d3c99a848389 (diff)
fix exporting files in subdirectories to webdav
Use tmp/key when exporting, so the whole export directory structure does not have to be created under tmp/ This commit was sponsored by Denis Dzyubenko on Patreon.
Diffstat (limited to 'Remote/WebDAV')
-rw-r--r--Remote/WebDAV/DavLocation.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/Remote/WebDAV/DavLocation.hs b/Remote/WebDAV/DavLocation.hs
index 81777e887..8979ab9ef 100644
--- a/Remote/WebDAV/DavLocation.hs
+++ b/Remote/WebDAV/DavLocation.hs
@@ -53,9 +53,6 @@ keyTmpLocation = tmpLocation . keyFile
exportLocation :: ExportLocation -> DavLocation
exportLocation (ExportLocation f) = f
-exportTmpLocation :: ExportLocation -> DavLocation
-exportTmpLocation (ExportLocation f) = tmpLocation f
-
tmpLocation :: FilePath -> DavLocation
tmpLocation f = tmpDir </> f