dirname

Directory component. An absolute path always has a non-empty directory component (the directory component of the root path is the root itself).

AbsolutePath.swift:79
var dirname: String { get }