MCPcopy
hub / github.com/helm/helm / defaultKeyring

Function defaultKeyring

pkg/cmd/dependency_build.go:95–100  ·  view source on GitHub ↗

defaultKeyring returns the expanded path to the default keyring.

()

Source from the content-addressed store, hash-verified

93
94// defaultKeyring returns the expanded path to the default keyring.
95func defaultKeyring() string {
96 if v, ok := os.LookupEnv("GNUPGHOME"); ok {
97 return filepath.Join(v, "pubring.gpg")
98 }
99 return filepath.Join(homedir.HomeDir(), ".gnupg", "pubring.gpg")
100}

Callers 7

newPackageCmdFunction · 0.85
newPluginInstallCmdFunction · 0.85
newVerifyCmdFunction · 0.85
newPluginPackageCmdFunction · 0.85
addChartPathOptionsFlagsFunction · 0.85
newPluginVerifyCmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…