Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandHome
deprecated
func GetHomeDirectory
deprecated
GetHomeDirectory returns the user's home directory. It first tries os.UserHomeDir(), then falls back to the HOME environment variable. If both fail, it returns an error rather than using dangerous defaults.
Deprecated: Use github.com/arthur-debert/dodot/pkg/paths.GetHomeDirectory instead. This function will be removed in a future version.
func GetHomeDirectoryWithDefault
deprecated
GetHomeDirectoryWithDefault returns the user's home directory or a default value. This should only be used in contexts where a default is acceptable.
Deprecated: Use github.com/arthur-debert/dodot/pkg/paths.GetHomeDirectoryWithDefault instead. This function will be removed in a future version.
Types ¶
This section is empty.