Documentation
¶
Overview ¶
Package paths resolves the user's home directory and expands ~-prefixed paths against it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatHomeError ¶
FormatHomeError maps ResolveHome's errors to their user-facing reason strings.
func ResolveHome ¶
ResolveHome returns the user's home directory, preferring $HOME and falling back to os/user.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.