Skip to content

Commit df048ab

Browse files
committed
#49, document the specific case requested in the ticket
1 parent 10553c6 commit df048ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

System/FilePath/Internal.hs

+1
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,7 @@ combineAlways a b | null a = b
623623
--
624624
-- > Posix: "/directory" </> "file.ext" == "/directory/file.ext"
625625
-- > Windows: "/directory" </> "file.ext" == "/directory\\file.ext"
626+
-- > "directory" </> "/file.ext" == "/file.ext"
626627
-- > Valid x => combine (takeDirectory x) (takeFileName x) `equalFilePath` x
627628
--
628629
-- Combined:

0 commit comments

Comments
 (0)