resolve

fun resolve(fileName: ByteString): RelativePath

Resolve a file name against this relative path.

The file name is resolved by appending it to the list of names of this relative path.

Return

a relative path that is the file name resolved against this relative path

Parameters

fileName

the file name

Throws

if the file name is empty or contains the URI name separator /


Resolve another relative path against this relative path.

The other relative path is resolved by appending the list of names of it to the list of names of this relative path.

Return

a relative path that is the other relative path resolved against this relative path

Parameters

other

the other relative path

See also