git-annex/Types/LockPool.hs
Joey Hess d279180266 reorganize and refactor lock code
Added a convenience Utility.LockFile that is not a windows/posix
portability shim, but still manages to cut down on the boilerplate around
locking.

This commit was sponsored by Johan Herland.
2014-08-20 16:45:58 -04:00

16 lines
298 B
Haskell

{- git-annex lock pool data types
-
- Copyright 2014 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
-}
module Types.LockPool (
LockPool,
LockHandle
) where
import qualified Data.Map as M
import Utility.LockFile
type LockPool = M.Map FilePath LockHandle