api / org.gradle.api.file / RelativePath / prepend

prepend

open fun prepend(vararg segments: String): RelativePath

Prepends the given names to the start of this path.

Parameters

segments - The names to prepend

Return
The new path.