# Functions
Close closes the given io.Closer without error.
CreateFile is similar to os.Create but supports ~ as the home directory, and also supports the parent directory creation.
ExistEnv checks if the environment variable named by the key exists.
Exists checks if the given path exists.
ExistsDevice checks if the given path exists and is a device.
ExistsDir checks if the given path exists and is a directory.
ExistsFile checks if the given path exists and is a regular file.
ExistsLink checks if the given path exists and is a symbolic link.
ExistsSocket checks if the given path exists and is a socket.
ExpandEnv is similar to Getenv, but replaces ${var} or $var in the result.
Getenv retrieves the value of the environment variable named by the key.
InlineTilde replaces the leading ~ with the home directory.
Open is similar to os.Open but supports ~ as the home directory.
OpenFile is similar to os.OpenFile but supports ~ as the home directory, and also supports the parent directory creation.
No description provided by the author
No description provided by the author
UserHomeDir is similar to os.UserHomeDir, but returns the temp dir if the home dir is not found.
WriteFile is similar to os.WriteFile but supports ~ as the home directory, and also supports the parent directory creation.
# Variables
No description provided by the author