MCPcopy Create free account
hub / github.com/google/gapid / xml

Method xml

core/os/android/binaryxml/xml_tree.go:34–42  ·  view source on GitHub ↗
(ctx *xmlContext)

Source from the content-addressed store, hash-verified

32}
33
34func (c xmlTree) xml(ctx *xmlContext) string {
35 b := bytes.Buffer{}
36 for _, chunk := range c.chunks {
37 s := chunk.xml(ctx)
38 b.WriteString(s)
39 b.WriteRune('\n')
40 }
41 return b.String()
42}
43
44func (c *xmlTree) visit(visitor chunkVisitor) {
45 ctx := xmlContext{

Callers 1

toXmlStringMethod · 0.95

Calls 4

WriteStringMethod · 0.80
xmlMethod · 0.65
StringMethod · 0.65
WriteRuneMethod · 0.45

Tested by

no test coverage detected