parent

open override fun parent(): AbsolutePath(source)

Returns an absolute path representing the parent of this path. Equivalent to resolve("..").

Note that the parent of the root path is the root path itself.