Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
65
func
(xe *XMLEncoder) WriteIndent() {
66
xe.Writer.Write(xe.PreBytes)
67
xe.Writer.Write(bytes.Repeat(xe.IndBytes, xe.CurIndent))
68
}
69
70
func
(xe *XMLEncoder) WriteEOL() {
71
xe.Writer.Write([]byte(
"\n"
))
Callers
2
WriteStart
Method · 0.95
WriteEnd
Method · 0.95
Calls
1
Write
Method · 0.65
Tested by
no test coverage detected