git-annex/Locations.hs
2010-10-12 00:53:42 -04:00

15 lines
351 B
Haskell

{- 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 ++ "/"