MCPcopy Create free account
hub / github.com/cockroachdb/redact / resetWithMode

Method resetWithMode

internal/buffer/buffer_test.go:200–203  ·  view source on GitHub ↗
(mode OutputMode)

Source from the content-addressed store, hash-verified

198}
199
200func (b *Buffer) resetWithMode(mode OutputMode) {
201 b.Reset()
202 b.SetMode(mode)
203}
204
205func TestBufferEscapedSafeWrites(t *testing.T) {
206 var b Buffer

Callers 2

TestBufferRawSafeWritesFunction · 0.95

Calls 2

ResetMethod · 0.95
SetModeMethod · 0.95

Tested by

no test coverage detected