Skip to main content

redact_secrets

Function redact_secrets 

Source
pub fn redact_secrets(text: &str) -> String
Expand description

The full redaction pipeline. Order matters: the original credential-prefix and private-key passes run first (unchanged, so their existing callers’ exact output is preserved byte-for-byte on inputs that only they match), then the newer, broader shape-based passes.