assert(FilePath("/usr/bin/") == FilePath("/usr/bin/")); assert(FilePath("/usr/bin/") == Path("/usr/bin/")); assert(FilePath("foo") == Path("foo")); assert(FilePath("foo", false).str == "foo"); assert(FilePath("foo", true).str == "foo"); assert(Path("/etc/", false).str == "/etc/"); assert(Path("/etc/", true).str == "/etc"); assert(Path("foo", true).str == "foo");
(Regular) File path. See: https://hackage.haskell.org/package/filepath-1.5.0.0/docs/System-FilePath.html#t:FilePath