vendor: github.com/docker/docker v23.0.0-rc.2

full diff: https://github.com/docker/docker/compare/v23.0.0-rc.1...v23.0.0-rc.2

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2023-01-12 13:45:27 +01:00
parent 0d16330dd2
commit c453cc6873
6 changed files with 20 additions and 8 deletions
+9
View File
@@ -91,3 +91,12 @@ func GetConfigHome() (string, error) {
}
return filepath.Join(home, ".config"), nil
}
// GetLibHome returns $HOME/.local/lib
func GetLibHome() (string, error) {
home := os.Getenv("HOME")
if home == "" {
return "", errors.New("could not get HOME")
}
return filepath.Join(home, ".local/lib"), nil
}