Skip to content

Function: expandHomePath()

expandHomePath(input, userName): string

Expand ~ / ~/... to /Workspace/Users/<userName>/.... Non-home inputs are returned unchanged (POSIX separators only).

string

string

string