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

Function DecodeBytes

cli/pkg/ssh_config/config.go:310–312  ·  view source on GitHub ↗

DecodeBytes reads b into a Config, or returns an error if r could not be parsed as an SSH config file.

(b []byte)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

decodeBytesFunction · 0.85

Tested by

no test coverage detected