We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93ad049 commit 65202e4Copy full SHA for 65202e4
System/FilePath/Internal.hs
@@ -620,6 +620,8 @@ combineAlways a b | null a = b
620
621
-- | Combine two paths with a path separator.
622
-- If the second path starts with a path separator or a drive letter, then it returns the second.
623
+-- The intention is that @setCurrentDirectory dir; readFile file@ will access the same file as
624
+-- @readFile (dir '</>' file)@.
625
--
626
-- > Posix: "/directory" </> "file.ext" == "/directory/file.ext"
627
-- > Windows: "/directory" </> "file.ext" == "/directory\\file.ext"
0 commit comments