getName

abstract fun getName(): String(source)

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

Copy actions, such as eachFile and rename, run one after the other: the actions of a parent spec first, then those of the spec itself in the order they were added. Within an action, the name reflects the actions that ran before it.

Return

The destination name. Never returns null.