StringBuilder accumulates strings with optional redaction markers. It implements io.Writer but marks direct writes as redactable. To distinguish safe and unsafe bits, it also implements the SafeWriter interface.
| 29 | // To distinguish safe and unsafe bits, it also implements the SafeWriter |
| 30 | // interface. |
| 31 | type StringBuilder struct { |
| 32 | ib.Buffer |
| 33 | } |
| 34 | |
| 35 | var _ fmt.Stringer = StringBuilder{} |
| 36 | var _ fmt.Stringer = (*StringBuilder)(nil) |
nothing calls this directly
no outgoing calls
no test coverage detected