[commit: packages/directory] master: Clarify docs for removeDirectoryRecursive (fixes #26) (dd3e722)

git at git.haskell.org git at git.haskell.org
Fri Dec 18 09:50:37 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/dd3e722a0effdae32bad53b768fcac36d4a0a7d1/directory

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

commit dd3e722a0effdae32bad53b768fcac36d4a0a7d1
Author: Phil Ruffwind <rf at rufflewind.com>
Date:   Sat May 16 09:49:06 2015 -0400

    Clarify docs for removeDirectoryRecursive (fixes #26)


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

dd3e722a0effdae32bad53b768fcac36d4a0a7d1
 System/Directory.hs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/System/Directory.hs b/System/Directory.hs
index e40c6b7..70882e1 100644
--- a/System/Directory.hs
+++ b/System/Directory.hs
@@ -489,8 +489,8 @@ removeDirectory path =
 #endif
 
 -- | @'removeDirectoryRecursive' dir@ removes an existing directory /dir/
--- together with its contents and subdirectories. Symbolic links are removed
--- without affecting their the targets.
+-- together with its contents and subdirectories. Within this directory,
+-- symbolic links are removed without affecting their the targets.
 removeDirectoryRecursive :: FilePath -> IO ()
 removeDirectoryRecursive path =
   (`ioeSetLocation` "removeDirectoryRecursive") `modifyIOError` do



More information about the ghc-commits mailing list