summaryrefslogtreecommitdiff
path: root/Locations.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-06-11 00:39:09 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-06-11 00:39:09 -0400
commitd5884388b09347835df599d8a0dcea77e6795c10 (patch)
tree2f98ad9d0013b97daa04278bc837ef64967db73a /Locations.hs
parentca9ee21bd771e7f94ecd3916f55b10fb3cc8dcbe (diff)
daemonize git annex watch
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 db456388a..1dcfdc0ff 100644
--- a/Locations.hs
+++ b/Locations.hs
@@ -23,6 +23,7 @@ module Locations (
gitAnnexIndex,
gitAnnexIndexLock,
gitAnnexIndexDirty,
+ gitAnnexLogFile,
gitAnnexSshDir,
gitAnnexRemotesDir,
isLinkToAnnex,
@@ -145,6 +146,10 @@ gitAnnexIndexLock r = gitAnnexDir r </> "index.lck"
gitAnnexIndexDirty :: Git.Repo -> FilePath
gitAnnexIndexDirty r = gitAnnexDir r </> "index.dirty"
+{- Log file for daemon mode. -}
+gitAnnexLogFile :: Git.Repo -> FilePath
+gitAnnexLogFile r = gitAnnexDir r </> "daemon.log"
+
{- .git/annex/ssh/ is used for ssh connection caching -}
gitAnnexSshDir :: Git.Repo -> FilePath
gitAnnexSshDir r = addTrailingPathSeparator $ gitAnnexDir r </> "ssh"