git-annex/Locations.hs

13 lines
300 B
Haskell
Raw Normal View History

{- git-annex file locations
-}
module Locations where
import GitRepo
2010-10-11 04:23:49 +00:00
{- 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 ++ "/"