[commit: packages/filepath] master: #51, add some documentation around splitSearchPath (1a4b108)
git at git.haskell.org
git at git.haskell.org
Mon Dec 28 20:39:34 UTC 2015
Repository : ssh://git@git.haskell.org/filepath
On branch : master
Link : http://git.haskell.org/packages/filepath.git/commitdiff/1a4b108c244eb77e1207f94c472ca25ccd34a84c
>---------------------------------------------------------------
commit 1a4b108c244eb77e1207f94c472ca25ccd34a84c
Author: Neil Mitchell <ndmitchell at gmail.com>
Date: Tue Dec 22 07:27:45 2015 +0000
#51, add some documentation around splitSearchPath
>---------------------------------------------------------------
1a4b108c244eb77e1207f94c472ca25ccd34a84c
System/FilePath/Internal.hs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/System/FilePath/Internal.hs b/System/FilePath/Internal.hs
index 34cc156..52020f6 100644
--- a/System/FilePath/Internal.hs
+++ b/System/FilePath/Internal.hs
@@ -188,6 +188,8 @@ isExtSeparator = (== extSeparator)
-- Path methods (environment $PATH)
-- | Take a string, split it on the 'searchPathSeparator' character.
+-- Blank items are ignored on Windows, and converted to @.@ on Posix.
+-- On Windows path elements are stripped of quotes.
--
-- Follows the recommendations in
-- <http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html>
More information about the ghc-commits
mailing list