moby/pkg/homedir
Sebastiaan van Stijn 6876e45f9e
pkg/homedir: unify implementations
Unify some of the exported functions instead of maintaining separate functions
per platform.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-06-26 14:43:26 +02:00
..
homedir.go pkg/homedir: unify implementations 2023-06-26 14:43:26 +02:00
homedir_linux.go homedir: fallback to user.Current().homeDir if XDG_DATA_HOME/XDG_CONFIG_HOME and HOME are unset 2023-01-14 17:38:34 +01:00
homedir_others.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
homedir_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
homedir_unix.go pkg/homedir: unify implementations 2023-06-26 14:43:26 +02:00
homedir_windows.go pkg/homedir: unify implementations 2023-06-26 14:43:26 +02:00