package
2.1.7+incompatible
Repository: https://github.com/matrixorigin/dragonboat.git
Documentation: pkg.go.dev
# Functions
Dir returns the home directory for the executing user.
Expand expands the path to include the home directory if the path is prefixed with `~`.
GetBoolEnvVarOrDefault returns the boolean value specified in the environmential variable identified as name, or it returns the specified default value if the environmential variable is not found.
GetConfigDirs returns a list of location where configuration files can be located.
GetStringEnvVarOrEmptyString returns a string value found in the specified environmential variable or it returns an empty string value.
# Variables
DisableCache will disable caching of the home directory.