From ba78630681ab7e987b70e67acaaf477912fe00bb Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 12 Nov 2015 17:47:31 -0400 Subject: pid locking configuration and abstraction layer for git-annex (not actually used anywhere yet) --- Locations.hs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Locations.hs') diff --git a/Locations.hs b/Locations.hs index c3d9c7ab2..bcbac34db 100644 --- a/Locations.hs +++ b/Locations.hs @@ -51,6 +51,7 @@ module Locations ( gitAnnexViewLog, gitAnnexIgnoredRefs, gitAnnexPidFile, + gitAnnexPidLockFile, gitAnnexDaemonStatusFile, gitAnnexLogFile, gitAnnexFuzzTestLogFile, @@ -334,6 +335,10 @@ gitAnnexIgnoredRefs r = gitAnnexDir r "ignoredrefs" gitAnnexPidFile :: Git.Repo -> FilePath gitAnnexPidFile r = gitAnnexDir r "daemon.pid" +{- Pid lock file for pidlock mode -} +gitAnnexPidLockFile :: Git.Repo -> FilePath +gitAnnexPidLockFile r = gitAnnexDir r "pidlock" + {- Status file for daemon mode. -} gitAnnexDaemonStatusFile :: Git.Repo -> FilePath gitAnnexDaemonStatusFile r = gitAnnexDir r "daemon.status" -- cgit v1.2.3