MCPcopy Create free account
hub / github.com/cogentcore/core / WriteIndent

Method WriteIndent

svg/xml.go:65–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63}
64
65func (xe *XMLEncoder) WriteIndent() {
66 xe.Writer.Write(xe.PreBytes)
67 xe.Writer.Write(bytes.Repeat(xe.IndBytes, xe.CurIndent))
68}
69
70func (xe *XMLEncoder) WriteEOL() {
71 xe.Writer.Write([]byte("\n"))

Callers 2

WriteStartMethod · 0.95
WriteEndMethod · 0.95

Calls 1

WriteMethod · 0.65

Tested by

no test coverage detected