Closed
Description
Carrying over this often-requested feature from nodejs/node-v0.x-archive#2857. There's two mechanisms in Unix concering the tilde in paths:
- expand
~
at the beginning of a path string to the current user's home directory. - expand
~user
at the beginning of a path string to the given user's home directory.
The first part should be quite trivial to add if #682 get implemented. The second part is far more uncommon and would likely require passwd
parsing (for which consensus seems to be that it's libuv territory - libuv/libuv#11), and god-knows-what on Windows.
Would we be satisified if only the first part gets added to all relevant path
functions? I assume this could be added in a non-breaking way, which wouldn't require a semver-major bump.
Metadata
Assignees
Labels
No labels