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

Function GetStrict

cli/pkg/ssh_config/config.go:154–156  ·  view source on GitHub ↗

GetStrict finds the first value for key within a declaration that matches the alias. If key has a default value and no matching configuration is found, the default will be returned. For more information on default values and the way patterns are matched, see the manpage for ssh_config. The returned

(alias, key string)

Source from the content-addressed store, hash-verified

152//
153// GetStrict is a wrapper around DefaultUserSettings.GetStrict.
154func GetStrict(alias, key string) (string, error) {
155 return DefaultUserSettings.GetStrict(alias, key)
156}
157
158// GetAllStrict retrieves zero or more directives for key for the given alias.
159//

Callers

nothing calls this directly

Calls 1

GetStrictMethod · 0.80

Tested by

no test coverage detected