summaryrefslogtreecommitdiff
path: root/Locations.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-09-25 14:16:34 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-09-25 14:16:34 -0400
commit324f16f1f0f14c3c5f457479efc9a7f22f30fd43 (patch)
treed6b1405bff9250c722e6777342808cf7af9576f0 /Locations.hs
parent19043fb8013180c0ac18e45129e0f20cb3ea7ff0 (diff)
add recordStartTime and getStartTime
Diffstat (limited to 'Locations.hs')
-rw-r--r--Locations.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Locations.hs b/Locations.hs
index 397081cc4..98eabb172 100644
--- a/Locations.hs
+++ b/Locations.hs
@@ -18,6 +18,7 @@ module Locations (
gitAnnexBadDir,
gitAnnexBadLocation,
gitAnnexUnusedLog,
+ gitAnnexFsckState,
gitAnnexTransferDir,
gitAnnexJournalDir,
gitAnnexJournalLock,
@@ -130,6 +131,10 @@ gitAnnexBadLocation key r = gitAnnexBadDir r </> keyFile key
gitAnnexUnusedLog :: FilePath -> Git.Repo -> FilePath
gitAnnexUnusedLog prefix r = gitAnnexDir r </> (prefix ++ "unused")
+{- .git/annex/fsckstate is used to store information about incremental fscks. -}
+gitAnnexFsckState :: Git.Repo -> FilePath
+gitAnnexFsckState r = gitAnnexDir r </> "fsckstate"
+
{- .git/annex/transfer/ is used is used to record keys currently
- being transferred, and other transfer bookkeeping info. -}
gitAnnexTransferDir :: Git.Repo -> FilePath