git-annex/Locations.hs

16 lines
351 B
Haskell
Raw Normal View History

{- git-annex file locations
-}
2010-10-11 17:52:46 -04:00
module Locations (
gitStateDir,
stateLoc
) where
import GitRepo
2010-10-11 00:23:49 -04:00
{- Long-term, cross-repo state is stored in files inside the .git-annex
2010-10-12 00:53:42 -04:00
- directory, in the git repository's working tree. -}
stateLoc = ".git-annex"
gitStateDir :: GitRepo -> FilePath
2010-10-12 00:53:42 -04:00
gitStateDir repo = (gitWorkTree repo) ++ "/" ++ stateLoc ++ "/"