api / org.gradle.api.file / RelativePath / <init>

<init>

RelativePath(endsWithFile: Boolean, vararg segments: String)

Creates a RelativePath.

Parameters

endsWithFile - - if true, the path ends with a file, otherwise a directory