File.appendPath
$dir.appendPath($relPath) -> $newPath
Description
Append a relative path to the current directory path.
$baseDir = dir'/some/dir' $textFile = $baseDir.appendPath(file'subdir/data.txt') //= file'/some/dir/subdir/data.txt'
Append a relative path to the current directory path.
$baseDir = dir'/some/dir' $textFile = $baseDir.appendPath(file'subdir/data.txt') //= file'/some/dir/subdir/data.txt'