[commit: packages/filepath] master: Refer to `makeAbsolute` instead of `canonicalizePath` in docs (b2e69c0)

git at git.haskell.org git at git.haskell.org
Thu Mar 19 11:37:59 UTC 2015


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

On branch  : master
Link       : http://git.haskell.org/packages/filepath.git/commitdiff/b2e69c0dfb63e956a0f57d83895caf05c7ea986f

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

commit b2e69c0dfb63e956a0f57d83895caf05c7ea986f
Author: Phil Ruffwind <rf at rufflewind.com>
Date:   Wed Mar 11 01:58:09 2015 -0400

    Refer to `makeAbsolute` instead of `canonicalizePath` in docs


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

b2e69c0dfb63e956a0f57d83895caf05c7ea986f
 System/FilePath/Internal.hs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/System/FilePath/Internal.hs b/System/FilePath/Internal.hs
index f7b3469..051e44c 100644
--- a/System/FilePath/Internal.hs
+++ b/System/FilePath/Internal.hs
@@ -729,8 +729,8 @@ equalFilePath a b = f a == f b
 
 -- | Contract a filename, based on a relative path.
 --
---   There is no corresponding @makeAbsolute@ function, instead use
---   @System.Directory.canonicalizePath@ which has the same effect.
+--   The corresponding @makeAbsolute@ function can be found in
+--   @System.Directory at .
 --
 -- >          makeRelative "/directory" "/directory/file.ext" == "file.ext"
 -- >          Valid x => makeRelative (takeDirectory x) x `equalFilePath` takeFileName x



More information about the ghc-commits mailing list