blob: 300f443f7f5a1f349acbddd674419230491caebe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{- git-annex file locations
-}
module Locations (
gitStateDir,
stateLoc
) where
import GitRepo
{- Long-term, cross-repo state is stored in files inside the .git-annex
- directory, in the git repository's working tree. -}
stateLoc = ".git-annex"
gitStateDir :: GitRepo -> FilePath
gitStateDir repo = (gitWorkTree repo) ++ "/" ++ stateLoc ++ "/"
|