resolve

@Contract(pure = true)
open infix fun EnvPath.resolve(other: EnvPath): EnvPath
@Contract(pure = true)
open infix fun Path.resolve(other: EnvPath): Result<Path>

Resolve the given other path against this path.

If the other parameter is an absolute path then this method trivially returns other. If other is an empty path then this method trivially returns this path. Otherwise this method considers this path to be a directory and resolves the given path against this path.

Return

the resulting path.

Parameters

other

the path to resolve against this path.