pub fn check(content: &str) -> RuntimeResult<()>Expand description
Hard-block content from being written.
Returns Err(RuntimeError::SecretDetected) on the first match found, or
Ok(()) if no secret pattern fires.
pub fn check(content: &str) -> RuntimeResult<()>Hard-block content from being written.
Returns Err(RuntimeError::SecretDetected) on the first match found, or
Ok(()) if no secret pattern fires.