summaryrefslogtreecommitdiff
path: root/Locations.hs
blob: 31bb3d9de305932512b7915a3f6fc4bca61ba92c (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. -}
stateLoc = ".git-annex"
gitStateDir :: GitRepo -> FilePath
gitStateDir repo = (gitRepoTop repo) ++ "/" ++ stateLoc ++ "/"