Expand description
Small filesystem-path helpers shared across the workspace.
Functions§
- expand_
tilde - Expand a leading
~or~/inpathagainsthome. A path that does not begin with a tilde segment is returned unchanged. - expand_
tilde_ env - Expand a leading
~/~/inpathagainst$HOME, read from the process environment. A path without a tilde segment — or when$HOMEis unset — passes through unchanged.