[F] resolvePath
Combines and resolves paths. If a path is absolute, it replaces any previous path. Any
.
and ..
path components are resolved. Trailing directory separators are preserved.
Parameters
Parameter | Type |
---|---|
path | string |
…paths | (undefined | string )[] |
Returns
string