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

Function parseFile

cli/pkg/ssh_config/config.go:281–283  ·  view source on GitHub ↗
(filename string)

Source from the content-addressed store, hash-verified

279}
280
281func parseFile(filename string) (*Config, error) {
282 return parseWithDepth(filename, 0)
283}
284
285func parseWithDepth(filename string, depth uint8) (*Config, error) {
286 b, err := os.ReadFile(filename)

Callers 1

doLoadConfigsMethod · 0.85

Calls 1

parseWithDepthFunction · 0.85

Tested by

no test coverage detected