Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
GetEnv is a wrapper around os.LookupEnv for easier testing
View Source
var LookupUser = func(username string) (*user.User, error) { return user.Lookup(username) }
LookupUser is a wrapper around user.Lookup for easier testing
Functions ¶
func ExpandHomeDirectory ¶
ExpandHomeDirectory expands the tilde in the given path based on the provided username.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.