api / org.gradle.api.file / FileCopyDetails / getName

getName

abstract fun getName(): String

Overrides FileTreeElement.getName

Returns the base name of this file at the copy destination.

Return
The destination name. Never returns null.