FilePath package:pathtype

Deprecated: Use Path.File instead.
Deprecated: Use Path.file instead.
Deprecated: Use filePath instead.
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"
Deprecated: Use filePath instead.
Deprecated: Use System.FilePath.equalFilePath instead.