Documentation
¶
Overview ¶
Package homedir provides functions for expanding paths like ~/.ssh.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidPath = errors.New("invalid path")
ErrInvalidPath is returned when the given path is invalid.
Functions ¶
func Expand ¶
Expand does ~/ style path expansion for files under current user home. ~user/ style paths are not supported.
func ExpandFile ¶
ExpandFile expands the path and checks that it is an existing file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.