Skip to content

join

In std/io.

fn join(self: Path, segment: String) : Path

self with segment appended as its last segment, separated by /: Path("data").join("birds.csv") is Path("data/birds.csv"). Onto Path(".") or Path("") it is Path(segment).