use unix-compat 0.5 on windows

That version has my patches for the problems that Utility.PosixFiles
was working around, so am able to get rid of that module now.

This will later allow bringing back the custom-setup stanza in the cabal
file. It will need to depend on unix-compat 0.5 on all OS's, which I'm
not ready to do yet.

This commit was sponsored by Nick Daly on Patreon.
This commit is contained in:
Joey Hess 2017-11-09 12:47:05 -04:00
parent 0f150a054b
commit 3ec579f5e1
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
9 changed files with 12 additions and 51 deletions

View file

@ -50,6 +50,7 @@ module Annex.Content (
) where
import System.IO.Unsafe (unsafeInterleaveIO)
import System.PosixCompat.Files
import qualified Data.Set as S
import Annex.Common
@ -84,7 +85,6 @@ import Types.Key
import Annex.UUID
import Annex.InodeSentinal
import Utility.InodeCache
import Utility.PosixFiles
{- Checks if a given key's content is currently present. -}
inAnnex :: Key -> Annex Bool