Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
200
func
(b *Buffer) resetWithMode(mode OutputMode) {
201
b.Reset()
202
b.SetMode(mode)
203
}
204
205
func
TestBufferEscapedSafeWrites(t *testing.T) {
206
var
b Buffer
Callers
2
TestBufferEscapedSafeWrites
Function · 0.95
TestBufferRawSafeWrites
Function · 0.95
Calls
2
Reset
Method · 0.95
SetMode
Method · 0.95
Tested by
no test coverage detected