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

Function GetAll

cli/pkg/ssh_config/config.go:140–142  ·  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 GetAllStrict to disambiguate the latter cases. In most cases you want to use Get or GetStrict, which returns

(alias, key string)

Source from the content-addressed store, hash-verified

138//
139// GetAll is a wrapper around DefaultUserSettings.GetAll.
140func GetAll(alias, key string) []string {
141 return DefaultUserSettings.GetAll(alias, key)
142}
143
144// GetStrict finds the first value for key within a declaration that matches the
145// alias. If key has a default value and no matching configuration is found, the

Callers

nothing calls this directly

Calls 1

GetAllMethod · 0.45

Tested by

no test coverage detected