Skip to content
Xen / docs

Search documentation

English · v0.1.0-demo.2

Type to search the documentation.

    한국어
    Xen / reference v0.1.0-demo.2

    std.path

    APIs documented for this release.

    use std.path;
    APIResult and purpose
    std.path.is_absolute(path: String)Whether the path starts with /
    std.path.join(left: String, right: String)Join paths; an absolute right side wins
    std.path.basename(path: String)Last path component
    std.path.dirname(path: String)Parent path; "." for a single relative filename

    Paths use /. These functions do not access files, normalize . or .., or resolve symbolic links.