Discover Packages
a1.trump2023.org/rancher/os
Godeps
_workspace
src
github.com
docker
docker
pkg
homedir
package
Version:
v0.4.0-rc1
Opens a new window with list of versions in this module.
Published: Aug 14, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
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.