Path.segments

Split path on segments. Under the hood, this method uses std.path.pathSplitter

struct Path
@safe pure const
segments
()

Examples

import dshould;

Path("t1", "t2", "t3").segments.should.equal(["t1", "t2", "t3"]);

Meta