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

Method GetAll

cli/pkg/ssh_config/config.go:193–196  ·  view source on GitHub ↗

GetAll retrieves zero or more directives for key for the given alias. GetAll returns nil 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.

(alias, key string)

Source from the content-addressed store, hash-verified

191//
192// The match for key is case insensitive.
193func (u *UserSettings) GetAll(alias, key string) []string {
194 val, _ := u.GetAllStrict(alias, key)
195 return val
196}
197
198// GetStrict finds the first value for key within a declaration that matches the
199// alias. If key has a default value and no matching configuration is found, the

Callers

nothing calls this directly

Calls 1

GetAllStrictMethod · 0.95

Tested by

no test coverage detected