2015-05-18 20:23:07 +00:00
|
|
|
{- git-annex lock cache data types
|
2014-01-28 18:17:14 +00:00
|
|
|
-
|
2015-01-21 16:50:09 +00:00
|
|
|
- Copyright 2014 Joey Hess <id@joeyh.name>
|
2014-01-28 18:17:14 +00:00
|
|
|
-
|
2019-03-13 19:48:14 +00:00
|
|
|
- Licensed under the GNU AGPL version 3 or higher.
|
2014-01-28 18:17:14 +00:00
|
|
|
-}
|
|
|
|
|
2015-05-18 20:23:07 +00:00
|
|
|
module Types.LockCache (
|
|
|
|
LockCache,
|
2014-01-28 18:17:14 +00:00
|
|
|
LockHandle
|
|
|
|
) where
|
|
|
|
|
2015-11-12 22:05:45 +00:00
|
|
|
import Utility.LockPool (LockHandle)
|
2014-01-28 18:17:14 +00:00
|
|
|
|
2020-10-29 14:33:12 +00:00
|
|
|
import qualified Data.Map as M
|
|
|
|
import System.FilePath.ByteString (RawFilePath)
|
|
|
|
|
|
|
|
type LockCache = M.Map RawFilePath LockHandle
|