resolve

expect fun resolve(child: String, normalize: Boolean = false): Path
expect fun resolve(child: ByteString, normalize: Boolean = false): Path
expect fun resolve(child: Path, normalize: Boolean = false): Path

Returns a path that resolves child relative to this path.

Set normalize to true to eagerly consume .. segments on the resolved path. In all cases, leading .. on absolute paths will be removed. If normalize is false, note that the result isn't guaranteed to be normalized even if this and child are both normalized themselves.

If child is an absolute path or hasVolumeLetter then this function is equivalent to child.toPath(normalize).

actual fun resolve(child: String, normalize: Boolean): Path
actual fun resolve(child: ByteString, normalize: Boolean): Path
actual fun resolve(child: Path, normalize: Boolean): Path
actual fun resolve(child: String, normalize: Boolean): Path
actual fun resolve(child: ByteString, normalize: Boolean): Path
actual fun resolve(child: Path, normalize: Boolean): Path