better syntax
This commit is contained in:
parent
f44f715f51
commit
583ba80992
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ gitAnnexLocation key r
|
||||||
- present. -}
|
- present. -}
|
||||||
return $ inrepo ".git" </> annexLocation key hashDirMixed
|
return $ inrepo ".git" </> annexLocation key hashDirMixed
|
||||||
where
|
where
|
||||||
inrepo = (</>) (Git.workTree r)
|
inrepo d = Git.workTree r </> d
|
||||||
check locs = fromMaybe (head locs) <$> firstM doesFileExist locs
|
check locs = fromMaybe (head locs) <$> firstM doesFileExist locs
|
||||||
|
|
||||||
{- The annex directory of a repository. -}
|
{- The annex directory of a repository. -}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue