MCPcopy Create free account
hub / github.com/cli/cli / isPerHostOnly

Function isPerHostOnly

pkg/cmd/config/set/set.go:106–114  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

104}
105
106func isPerHostOnly(key string) bool {
107 for _, configKey := range config.Options {
108 if key == configKey.Key {
109 return configKey.PerHostOnly
110 }
111 }
112
113 return false
114}
115
116type InvalidValueError struct {
117 ValidValues []string

Callers 2

setRunFunction · 0.85
Test_isPerHostOnlyFunction · 0.85

Calls

no outgoing calls

Tested by 1

Test_isPerHostOnlyFunction · 0.68