append

open fun append(path: Path): Path(source)

Appends the supplied path to this path, returning the new path. The resulting path with be absolute or relative based on the path being appended _to_. It makes no difference if the _appended_ path is absolute or relative.

path(':a:b').append(path(':c:d')) == path(':a:b:c:d')
path(':a:b').append(path('c:d')) == path(':a:b:c:d')
path('a:b').append(path(':c:d')) == path('a:b:c:d')
path('a:b').append(path('c:d')) == path('a:b:c:d')