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:
parent
8d66f7ba0f
commit
e505c03bcc
51 changed files with 182 additions and 153 deletions
|
@ -25,10 +25,13 @@ import Utility.Applicative
|
|||
import Utility.LockFile.LockStatus
|
||||
|
||||
import System.IO
|
||||
import System.Posix
|
||||
import System.Posix.Types
|
||||
import System.Posix.IO.ByteString
|
||||
import System.Posix.Files.ByteString
|
||||
import System.FilePath.ByteString (RawFilePath)
|
||||
import Data.Maybe
|
||||
|
||||
type LockFile = FilePath
|
||||
type LockFile = RawFilePath
|
||||
|
||||
newtype LockHandle = LockHandle Fd
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue