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)
| 167 | // |
| 168 | // GetAllStrict is a wrapper around DefaultUserSettings.GetAllStrict. |
| 169 | func 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 |
nothing calls this directly
no test coverage detected