File.joinPath
File.joinPath($part1, $part2, ...) -> string
Description
Combine all path parts into a single path.
$rootDir = 'my/dir' $userDir = 'user' $userName = 'vgogh' File.joinPath($rootDir, $userDir, $userName) //= 'my/dir/user/vgogh'
Combine all path parts into a single path.
$rootDir = 'my/dir' $userDir = 'user' $userName = 'vgogh' File.joinPath($rootDir, $userDir, $userName) //= 'my/dir/user/vgogh'