mirror of
https://github.com/moby/moby.git
synced 2026-07-13 11:00:42 +00:00
The homedir package was only used to print default values for flags that contained paths inside the user's home-directory in a slightly nicer way (replace `/users/home` with `~`). Given that this is not critical, we can replace this with golang's function, which does not depend on libcontainer. There's still one use of the homedir package in docker/docker/opts, which is used by the dnet binary (but only requires the homedir package when running in rootless mode) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>