components
Returns an array of strings that make up the path components of the absolute path. This is the same sequence of strings as the basenames of each successive path component, starting from the root. Therefore the first path component of an absolute path is always /
.
var components: [String] { get }