summaryrefslogtreecommitdiff
path: root/Locations.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-06-23 08:48:13 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-06-23 08:48:13 -0400
commit9e37898e2186c8f7bb71a5d2bd7a02303410b363 (patch)
treea964c45d443c3ecaa6dea61b48caa996b8b3552b /Locations.hs
parentaf10b2854a199ed9985cde938d46b252f4d5e503 (diff)
remove stateDir
Diffstat (limited to 'Locations.hs')
-rw-r--r--Locations.hs9
1 files changed, 0 insertions, 9 deletions
diff --git a/Locations.hs b/Locations.hs
index 7f9626a11..df4957f3e 100644
--- a/Locations.hs
+++ b/Locations.hs
@@ -6,8 +6,6 @@
-}
module Locations (
- gitStateDir,
- stateDir,
keyFile,
fileKey,
gitAnnexLocation,
@@ -52,13 +50,6 @@ import qualified GitRepo as Git
- Everything else should use relative paths.
-}
-{- Long-term, cross-repo state is stored in files inside the .git-annex
- - directory, in the git repository's working tree. -}
-stateDir :: FilePath
-stateDir = addTrailingPathSeparator $ ".git-annex"
-gitStateDir :: Git.Repo -> FilePath
-gitStateDir repo = addTrailingPathSeparator $ Git.workTree repo </> stateDir
-
{- The directory git annex uses for local state, relative to the .git
- directory -}
annexDir :: FilePath