MCPcopy Create free account
hub / github.com/foxcpp/maddy / Read

Function Read

framework/cfgparser/parse.go:387–391  ·  view source on GitHub ↗
(r io.Reader, location string)

Source from the content-addressed store, hash-verified

385}
386
387func Read(r io.Reader, location string) (nodes []Node, err error) {
388 nodes, _, _, err = readTree(r, location, 0)
389 nodes = expandEnvironment(nodes)
390 return
391}

Callers 1

TestReadFunction · 0.70

Calls 2

readTreeFunction · 0.85
expandEnvironmentFunction · 0.85

Tested by 1

TestReadFunction · 0.56