RelativePath

constructor(endsWithFile: Boolean, segments: Array<String>)

Creates a RelativePath.

Parameters

endsWithFile

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