more RawFilePath conversion

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.
This commit is contained in:
Joey Hess 2020-10-29 10:33:12 -04:00
parent 8d66f7ba0f
commit e505c03bcc
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
51 changed files with 182 additions and 153 deletions

View file

@ -10,7 +10,9 @@ module Types.LockCache (
LockHandle
) where
import qualified Data.Map as M
import Utility.LockPool (LockHandle)
type LockCache = M.Map FilePath LockHandle
import qualified Data.Map as M
import System.FilePath.ByteString (RawFilePath)
type LockCache = M.Map RawFilePath LockHandle