Skip to content

Commit

Permalink
Fix incorrect comment about removeDirectoryRecursive and symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
gracjan committed Jun 6, 2014
1 parent 0c64d54 commit db88005
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions System/Directory.hs
Original file line number Diff line number Diff line change
Expand Up @@ -460,9 +460,10 @@ removeDirectory path =

#endif

-- | @'removeDirectoryRecursive' dir@ removes an existing directory /dir/
-- together with its content and all subdirectories. Be careful,
-- if the directory contains symlinks, the function will follow them.
-- | @'removeDirectoryRecursive' dir@ removes an existing directory
-- /dir/ together with its content and all subdirectories. If the
-- directory contains symlinks this function removes but does not
-- follow them.
removeDirectoryRecursive :: FilePath -> IO ()
removeDirectoryRecursive startLoc = do
cont <- getDirectoryContents startLoc
Expand Down

0 comments on commit db88005

Please sign in to comment.