Split path on segments. Under the hood, this method uses std.path.pathSplitter
import dshould; Path("t1", "t2", "t3").segments.should.equal(["t1", "t2", "t3"]); Path(null).segments.empty.should.be(true);
See Implementation
Split path on segments. Under the hood, this method uses std.path.pathSplitter