Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Expand ¶
Expand a tilde path with the user's homedir.
Works for ~ and for ~user.
In the event that a homedir can't be looked up, the original string is returned with an error. The error may be discarded if the original string is what you want in the event of failure anyway.
Does not support ~ at any other position other than the first char.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.