HPath.IO.Errors: fix throwDestinationInSource

'canonicalizePath' was missing, making this function far less reliable.
In order for this to work we have to work around circular imports
with a IO.hs-boot file.
This commit is contained in:
2016-05-10 00:11:42 +02:00
parent 78a3baeb25
commit 8a28a5dd0f
2 changed files with 12 additions and 2 deletions

7
src/HPath/IO.hs-boot Normal file
View File

@@ -0,0 +1,7 @@
module HPath.IO where
import HPath
canonicalizePath :: Path Abs -> IO (Path Abs)