summaryrefslogtreecommitdiff
path: root/Locations.hs
blob: 22a0db8e2c67138fe0e3d3889f3c3c32ec26b449 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{- git-annex file locations
 -}

module Locations where

import GitRepo

{- Long-term, cross-repo state is stored in files inside the .git-annex
 - directory, in the git repository. -}
stateLoc = ".git-annex"
gitStateDir :: GitRepo -> FilePath
gitStateDir repo = (top repo) ++ "/" ++ stateLoc ++ "/"