Path¶
In std/io.
type Path : Orderable { text : String }
A place in a file system, written as text: segments separated by /.
Constructing one touches nothing. A relative path resolves against the
directory of the source unit that names it, as a file's does. Paths are
ordered by their segments compared in turn, each by its text, so
Path("a/b") sorts before Path("a-b"): the order of a sorted walk.
fn Path(text: String) : Path
The Path whose text is text. Constructing it touches nothing:
Path("data/birds.csv").text is "data/birds.csv".