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

Function GetAllStrict

cli/pkg/ssh_config/config.go:169–171  ·  view source on GitHub ↗

GetAllStrict retrieves zero or more directives for key for the given alias. In most cases you want to use Get or GetStrict, which returns a single value. However, a subset of ssh configuration values (IdentityFile, for example) allow you to specify multiple directives. The returned error will be n

(alias, key string)

Source from the content-addressed store, hash-verified

167//
168// GetAllStrict is a wrapper around DefaultUserSettings.GetAllStrict.
169func GetAllStrict(alias, key string) ([]string, error) {
170 return DefaultUserSettings.GetAllStrict(alias, key)
171}
172
173// Get finds the first value for key within a declaration that matches the
174// alias. Get returns the empty string if no value was found, or if IgnoreErrors

Callers

nothing calls this directly

Calls 1

GetAllStrictMethod · 0.80

Tested by

no test coverage detected