Check whether two strings are equal as file paths.
Posix.equalFilePath "abc/def" "abc/def"
Posix.equalFilePath "abc/def" "abc//def"
Posix.equalFilePath "/tmp/" "/tmp"
Posix.equalFilePath "/tmp" "//tmp"
Posix.equalFilePath "/tmp" "///tmp"
not $ Posix.equalFilePath "abc" "def"
not $ Posix.equalFilePath "/tmp" "tmp"
Windows.equalFilePath "abc\\def" "abc\\def"
Windows.equalFilePath "abc\\def" "abc\\\\def"
Windows.equalFilePath "file" "File"
Windows.equalFilePath "\\file" "\\\\file"
Windows.equalFilePath "\\file" "\\\\\\file"
not $ Windows.equalFilePath "abc" "def"
not $ Windows.equalFilePath "file" "dir"