api / org.gradle.api.file / FileTreeElement / getPath

getPath

abstract fun getPath(): String

Returns the path of this file, relative to the root of the containing file tree. Always uses '/' as the hierarchy separator, regardless of platform file separator. Same as calling getRelativePath().getPathString().

Return
The path. Never returns null.