summaryrefslogtreecommitdiff
path: root/Locations.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-10-11 17:52:46 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-10-11 17:52:46 -0400
commitebc3fbe9ae2c5cc52332c77a92697c2517ce8263 (patch)
treef65c38ab3d452c0cde3d0d3b968c216f1ee30705 /Locations.hs
parentaf82586adff96f18fe768e432f501c647401262f (diff)
explicit exports
Diffstat (limited to 'Locations.hs')
-rw-r--r--Locations.hs7
1 files changed, 5 insertions, 2 deletions
diff --git a/Locations.hs b/Locations.hs
index 22a0db8e2..31bb3d9de 100644
--- a/Locations.hs
+++ b/Locations.hs
@@ -1,7 +1,10 @@
{- git-annex file locations
-}
-module Locations where
+module Locations (
+ gitStateDir,
+ stateLoc
+) where
import GitRepo
@@ -9,4 +12,4 @@ import GitRepo
- directory, in the git repository. -}
stateLoc = ".git-annex"
gitStateDir :: GitRepo -> FilePath
-gitStateDir repo = (top repo) ++ "/" ++ stateLoc ++ "/"
+gitStateDir repo = (gitRepoTop repo) ++ "/" ++ stateLoc ++ "/"