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,
|
keyFile,
|
||||||
fileKey,
|
fileKey,
|
||||||
keyPaths,
|
keyPaths,
|
||||||
|
keyPath,
|
||||||
gitAnnexLocation,
|
gitAnnexLocation,
|
||||||
annexLocations,
|
annexLocations,
|
||||||
annexLocation,
|
annexLocation,
|
||||||
|
|
|
@ -216,7 +216,7 @@ toDavPass = B8.fromString
|
||||||
|
|
||||||
{- The location to use to store a Key. -}
|
{- The location to use to store a Key. -}
|
||||||
davLocation :: DavUrl -> Key -> DavUrl
|
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 :: DavUrl -> FilePath -> DavUrl
|
||||||
davUrl baseurl file = baseurl </> file
|
davUrl baseurl file = baseurl </> file
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue