api / org.gradle.api.file / FileCopyDetails / getRelativeSourcePath

getRelativeSourcePath

abstract fun getRelativeSourcePath(): RelativePath

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

Return
The path, relative to the root of the containing file tree. Never returns null.