Path.opEquals

bool opEquals(const Path rhs) const @safe

Checks equality with another Path using normalized, platform-aware semantics.

Semantics:

  • Normalizes both operands via normalize() before comparison.
  • POSIX: case-sensitive; Windows: case-insensitive.
  • Paths that differ only by redundant trailing separators compare equal

(e.g., "/a/b" == "/a/b/").