avoid unix-compat's rename
On Windows, that does not support long paths https://github.com/jacobstanley/unix-compat/issues/56 Instead, use System.Directory.renamePath, which does support long paths. Sponsored-by: Dartmouth College's Datalad project
This commit is contained in:
parent
bad39cadc6
commit
2d65c4ff1d
18 changed files with 75 additions and 20 deletions
|
@ -13,7 +13,7 @@ import Data.Default as X
|
|||
import System.FilePath as X
|
||||
import System.IO as X hiding (FilePath)
|
||||
import System.Exit as X
|
||||
import System.PosixCompat.Files as X hiding (fileSize, removeLink)
|
||||
import System.PosixCompat.Files as X hiding (fileSize, removeLink, rename)
|
||||
|
||||
import Utility.Misc as X
|
||||
import Utility.Exception as X
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue