joins multiple path segments into a single normalized posix path,
correctly handling files and directories differently when the "./" and "../" navigation commands are encountered.
for lots of other (posix-only) test cases, see the doc comments of joinPosixPaths.
joins multiple path segments into a single normalized posix path, correctly handling files and directories differently when the
"./"
and"../"
navigation commands are encountered.for lots of other (posix-only) test cases, see the doc comments of joinPosixPaths.
Example