remove annex/ from key locations used for webdav
This commit is contained in:
parent
46ae4c580d
commit
d3dfeeb3d9
2 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@ module Locations (
|
|||
keyFile,
|
||||
fileKey,
|
||||
keyPaths,
|
||||
keyPath,
|
||||
gitAnnexLocation,
|
||||
annexLocations,
|
||||
annexLocation,
|
||||
|
|
|
@ -216,7 +216,7 @@ toDavPass = B8.fromString
|
|||
|
||||
{- The location to use to store a Key. -}
|
||||
davLocation :: DavUrl -> Key -> DavUrl
|
||||
davLocation baseurl k = davUrl baseurl $ annexLocation k hashDirLower
|
||||
davLocation baseurl k = davUrl baseurl $ keyPath k hashDirLower
|
||||
|
||||
davUrl :: DavUrl -> FilePath -> DavUrl
|
||||
davUrl baseurl file = baseurl </> file
|
||||
|
|
Loading…
Reference in a new issue