api / org.gradle.api.file / FileTreeElement / getRelativePath

getRelativePath

abstract fun getRelativePath(): RelativePath

Returns the path of this file, relative to the root of the containing file tree.

Return
The path. Never returns null.