Skip to main content

detect_secrets

Function detect_secrets 

Source
pub fn detect_secrets(text: &str) -> Vec<SecretMatch>
Expand description

Scan text for potential secrets.

Returns all detected secrets with their positions and types.