Function: expandHome()
expandHome(
input,home,joinWith?):string
Expand a ~ / ~/... input against home.
Shared by every adapter that has a notion of “home”, since each one differs
only in what home is and how segments join: local disk passes
path.join, Databricks passes a POSIX join under
/Workspace/Users/<user>. Non-home inputs come back trimmed and unchanged.
Parameters
Section titled “Parameters”string
string
joinWith?
Section titled “joinWith?”(home, rest) => string
Join the expanded remainder onto home. Defaults to POSIX join.
Returns
Section titled “Returns”string