Path

struct Path

A lexical file-system path represented as components.

A leading / component marks an absolute path. Construction does not touch the file system or resolve ., .., ~, or symlinks; use normalized, expanded, or canonicalized for those progressively stronger operations.

Properties

let components: [String]

Lexical path components; an initial / component marks an absolute path.