Skip to main content

check

Function check 

Source
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.