api / org.gradle.api.file / RelativePath / getParent

getParent

open fun getParent(): RelativePath

Returns the parent of this path.

Return
The parent of this path, or null if this is the root path.