MCPcopy Create free account
hub / github.com/OpenAtomFoundation/SmartIDE / Get

Function Get

cli/pkg/ssh_config/config.go:124–126  ·  view source on GitHub ↗

Get finds the first value for key within a declaration that matches the alias. Get returns the empty string if no value was found, or if IgnoreErrors is false and we could not parse the configuration file. Use GetStrict to disambiguate the latter cases. The match for key is case insensitive. Get i

(alias, key string)

Source from the content-addressed store, hash-verified

122//
123// Get is a wrapper around DefaultUserSettings.Get.
124func Get(alias, key string) string {
125 return DefaultUserSettings.Get(alias, key)
126}
127
128// GetAll retrieves zero or more directives for key for the given alias. GetAll
129// returns nil if no value was found, or if IgnoreErrors is false and we could

Callers

nothing calls this directly

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected