joinPath

open override fun joinPath(base: Path, vararg parts: String): Path(source)

Resolves strings from parts against a base path. This method works with the path structure and doesn't check if the path actually exists in the filesystem.

Return

A normalized Path object representing the resolved path.

Parameters

base

The base path for resolution.

parts

The path strings to resolve.

Throws

if any of the parts is an absolute path.