From d5884388b09347835df599d8a0dcea77e6795c10 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 11 Jun 2012 00:39:09 -0400 Subject: daemonize git annex watch --- Locations.hs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Locations.hs') 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" -- cgit v1.2.3