copy

fun OutputResource.copy(name: String = this.name): OutputResource

Creates a copy of this resource with the specified name.

Return

a copy of this resource with the specified name

Parameters

name

new name for the copied resource