DecodeBytes reads b into a Config, or returns an error if r could not be parsed as an SSH config file.
(b []byte)
| 308 | // DecodeBytes reads b into a Config, or returns an error if r could not be |
| 309 | // parsed as an SSH config file. |
| 310 | func DecodeBytes(b []byte) (*Config, error) { |
| 311 | return decodeBytes(b, false, 0) |
| 312 | } |
| 313 | |
| 314 | func decodeBytes(b []byte, system bool, depth uint8) (c *Config, err error) { |
| 315 | defer func() { |
nothing calls this directly
no test coverage detected