Affected by GO-2022-0390
and 3 other vulnerabilities
GO-2022-0390 : Moby (Docker Engine) started with non-empty inheritable Linux process capabilities in github.com/docker/docker
GO-2024-2914 : Moby (Docker Engine) is vulnerable to Ambiguous OCI manifest parsing in github.com/docker/docker
GO-2024-3304 : Moby Race Condition vulnerability in github.com/moby/moby
GO-2024-3305 : Moby Race Condition vulnerability in github.com/moby/moby
Discover Packages
github.com/moby/moby
pkg
homedir
package
Version:
v1.12.0
Opens a new window with list of versions in this module.
Published: Jul 28, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
Get returns the home directory of the current user with the help of
environment variables depending on the target operating system.
Returned path should be used with "path/filepath" to form new paths.
func GetShortcutString() string
GetShortcutString returns the string that is shortcut to user's home directory
in the native shell of the platform running on.
Key returns the env var name for the user's home dir based on
the platform being run on
Source Files
¶
Click to show internal directories.
Click to hide internal directories.