MCPcopy Create free account
hub / github.com/cockroachdb/errors / Redact

Function Redact

safedetails/redact.go:23–25  ·  view source on GitHub ↗

Redact returns a redacted version of the supplied item that is safe to use in anonymized reporting. NB: this interface is obsolete. Use redact.Sprint() directly.

(r interface{})

Source from the content-addressed store, hash-verified

21//
22// NB: this interface is obsolete. Use redact.Sprint() directly.
23func Redact(r interface{}) string {
24 return redact.Sprint(r).Redact().StripMarkers()
25}

Callers 2

RedactFunction · 0.92
TestRedactFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestRedactFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…