e505c03bcc
nukeFile replaced with removeWhenExistsWith removeLink, which allows using RawFilePath. Utility.Directory cannot use RawFilePath since setup does not depend on posix. This commit was sponsored by Graham Spencer on Patreon.
18 lines
365 B
Haskell
18 lines
365 B
Haskell
{- git-annex lock cache data types
|
|
-
|
|
- Copyright 2014 Joey Hess <id@joeyh.name>
|
|
-
|
|
- Licensed under the GNU AGPL version 3 or higher.
|
|
-}
|
|
|
|
module Types.LockCache (
|
|
LockCache,
|
|
LockHandle
|
|
) where
|
|
|
|
import Utility.LockPool (LockHandle)
|
|
|
|
import qualified Data.Map as M
|
|
import System.FilePath.ByteString (RawFilePath)
|
|
|
|
type LockCache = M.Map RawFilePath LockHandle
|