Repository : ssh://g...@git.haskell.org/directory On branch : master Link : http://git.haskell.org/packages/directory.git/commitdiff/ff6265b01640fba7b5e221526a1fbca122e97b24
>--------------------------------------------------------------- commit ff6265b01640fba7b5e221526a1fbca122e97b24 Author: Ben Gamari <bgamari.f...@gmail.com> Date: Fri Sep 20 10:59:43 2013 -0400 doesDirectoryExist also accepts symbolic links This closes #7971 Signed-off-by: Austin Seipp <aus...@well-typed.com> >--------------------------------------------------------------- ff6265b01640fba7b5e221526a1fbca122e97b24 System/Directory.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/System/Directory.hs b/System/Directory.hs index 0533563..3aef66f 100644 --- a/System/Directory.hs +++ b/System/Directory.hs @@ -924,7 +924,8 @@ setCurrentDirectory path = #ifdef __GLASGOW_HASKELL__ {- |The operation 'doesDirectoryExist' returns 'True' if the argument file -exists and is a directory, and 'False' otherwise. +exists and is either a directory or a symbolic link to a directory, +and 'False' otherwise. -} doesDirectoryExist :: FilePath -> IO Bool _______________________________________________ ghc-commits mailing list ghc-commits@haskell.org http://www.haskell.org/mailman/listinfo/ghc-commits