[commit: packages/filepath] RyanGlScott-patch-1, master: createDirectoryIfMissing moved to System.Directory (c6d5fff)

git at git.haskell.org git at git.haskell.org
Thu Sep 13 14:51:05 UTC 2018


Repository : ssh://git@git.haskell.org/filepath

On branches: RyanGlScott-patch-1,master
Link       : http://git.haskell.org/packages/filepath.git/commitdiff/c6d5fffb6df754efd53f900e2fd8f4a0d1878a2a

>---------------------------------------------------------------

commit c6d5fffb6df754efd53f900e2fd8f4a0d1878a2a
Author: Simon Hafner <hafnersimon at gmail.com>
Date:   Wed Aug 16 21:31:04 2017 +0200

    createDirectoryIfMissing moved to System.Directory


>---------------------------------------------------------------

c6d5fffb6df754efd53f900e2fd8f4a0d1878a2a
 System/FilePath/Internal.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/System/FilePath/Internal.hs b/System/FilePath/Internal.hs
index 4a376b3..ace87cc 100644
--- a/System/FilePath/Internal.hs
+++ b/System/FilePath/Internal.hs
@@ -53,7 +53,7 @@
 -- /Example 2:/ Download a file from @url@ and save it to disk:
 --
 -- @do let file = 'makeValid' url
---   System.IO.createDirectoryIfMissing True ('takeDirectory' file)@
+--   System.Directory.createDirectoryIfMissing True ('takeDirectory' file)@
 --
 -- /Example 3:/ Compile a Haskell file, putting the @.hi@ file under @interface@:
 --



More information about the ghc-commits mailing list