OsPath transition Windows build fixes
This gets it building on Windows again, with 1 test suite failure (addurl). Sponsored-by: Kevin Mueller
This commit is contained in:
parent
9dc43396b3
commit
a149336a59
23 changed files with 58 additions and 62 deletions
|
@ -60,11 +60,6 @@ createLink a b = do
|
|||
b' <- fromRawFilePath <$> convertToWindowsNativeNamespace b
|
||||
P.createLink a' b'
|
||||
|
||||
{- On windows, removeLink is not available, so only remove files,
|
||||
- not symbolic links. -}
|
||||
removeLink :: RawFilePath -> IO ()
|
||||
removeLink = D.removeFile . fromRawFilePath
|
||||
|
||||
getFileStatus :: RawFilePath -> IO FileStatus
|
||||
getFileStatus p = P.getFileStatus . fromRawFilePath
|
||||
=<< convertToWindowsNativeNamespace p
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue