MCPcopy Create free account
hub / github.com/XmirrorSecurity/OpenSCA-cli / cachedWriteError

Method cachedWriteError

opensca/sca/java/xml/marshal.go:1032–1035  ·  view source on GitHub ↗

return the bufio Writer's cached write error

()

Source from the content-addressed store, hash-verified

1030
1031// return the bufio Writer's cached write error
1032func (p *printer) cachedWriteError() error {
1033 _, err := p.Write(nil)
1034 return err
1035}
1036
1037func (p *printer) writeIndent(depthDelta int) {
1038 if len(p.prefix) == 0 && len(p.indent) == 0 {

Callers 3

marshalValueMethod · 0.95
marshalStructMethod · 0.95
EncodeTokenMethod · 0.80

Calls 1

WriteMethod · 0.95

Tested by

no test coverage detected