Skip to main content

redact_command

Function redact_command 

Source
pub fn redact_command(raw: &str) -> Redaction
Expand description

Redact credentials that appear inline in a command line. Preserves the command’s structure and whitespace; only secret values are replaced.