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
|
|
|
-
|
|
|
|
- Licensed under the GNU GPL version 3 or higher.
|
|
|
|
-}
|
|
|
|
|
2015-05-18 20:23:07 +00:00
|
|
|
module Types.LockCache (
|
|
|
|
LockCache,
|
2014-01-28 18:17:14 +00:00
|
|
|
LockHandle
|
|
|
|
) where
|
|
|
|
|
|
|
|
import qualified Data.Map as M
|
2015-05-18 20:23:07 +00:00
|
|
|
import Utility.LockPool
|
2014-01-28 18:17:14 +00:00
|
|
|
|
2015-05-18 20:23:07 +00:00
|
|
|
type LockCache = M.Map FilePath LockHandle
|