Check if path is absolute
import dshould; Path().isValid.should.be(false); Path(".").isAbsolute.should.be(false); Path("some-path").isAbsolute.should.be(false); version(Posix) { Path("/test/path").isAbsolute.should.be(true); }
See Implementation
Check if path is absolute