Normalize path.
new normalized Path.
import dshould; version(Posix) { Path("foo").normalize.toString.should.equal("foo"); Path("../foo/../moo").normalize.toString.should.equal("../moo"); Path("/foo/./moo/../bar").normalize.toString.should.equal("/foo/bar"); }
See Implementation
Normalize path.